Functions
info_function.c File Reference

Information functions. More...

#include "libirt.h"
#include <math.h>
#include <gsl/gsl_spline.h>

Functions

void info_from_probs (gsl_matrix *probs, gsl_vector *quad_points, gsl_matrix *infos, gsl_vector *test_info)
 Compute the items' information curves from the response functions.
void info_from_probs_mc (gsl_matrix *probs, gsl_vector *quad_points, gsl_vector_int *nbr_options, gsl_vector_int *items_pos, gsl_matrix *options_infos, gsl_matrix *infos, gsl_vector *test_info)
 Compute the options' information curves from the response functions for a multivariate model.

Detailed Description

Information functions.

Author
Stephane Germain germs.nosp@m.te@g.nosp@m.mail..nosp@m.com

Function Documentation

void info_from_probs ( gsl_matrix *  probs,
gsl_vector *  quad_points,
gsl_matrix *  infos,
gsl_vector *  test_info 
)

Compute the items' information curves from the response functions.

Parameters
[in]probsA matrix (items x classes) of response functions.
[in]quad_pointsA vector(classes) with the middle points of each class.
[out]infosA matrix (items x classes) of items' information curves.
[out]test_infoA vector (classes) with test information curve.
Warning
The memory for the outputs must be allocated before.
void info_from_probs_mc ( gsl_matrix *  probs,
gsl_vector *  quad_points,
gsl_vector_int *  nbr_options,
gsl_vector_int *  items_pos,
gsl_matrix *  options_infos,
gsl_matrix *  infos,
gsl_vector *  test_info 
)

Compute the options' information curves from the response functions for a multivariate model.

Parameters
[in]probsA matrix (options x classes) of response functions.
[in]quad_pointsA vector(classes) with the middle points of each class.
[in]nbr_optionsA vector(items) with the number of option of each items.
[in]items_posA vector(items) with the position of the first option of each item.
[out]options_infosA matrix (options x classes) of options' information curves.
[out]infosA matrix (items x classes) of items' information curves.
[out]test_infoA vector (classes) with test information curve.
Warning
The memory for the outputs must be allocated before.

SourceForge.net Logo Generated on Sun Jan 26 2014 15:27:27 for libirt by Doxygen. Valid HTML 4.01 Transitional