function scaled_inverse_chi_square_pdf_values_test ( )

%*****************************************************************************80
%
%% scaled_inverse_chi_square_pdf_values_test() tests scaled_inverse_chi_square_pdf_values().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 August 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'scaled_inverse_chi_square_pdf_values_test():\n' );
  fprintf ( 1, '  scaled_inverse_chi_square_pdf_values() returns values of\n' );
  fprintf ( 1, '  the scaled inverse Chi Square Probability Density Function.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '        DF        XI         X         PDF\n' );
  fprintf ( 1, '\n' );

  n_data = 0;

  while ( true )

    [ n_data, df, xi, x, fx ] = scaled_inverse_chi_square_pdf_values ( n_data );

    if ( n_data == 0 )
      break
    end

    fprintf ( 1, '  %8g  %8g  %8g  %24.16g\n', df, xi, x, fx );

  end

  return
end
