68 |
struct variable *v_indep; |
struct variable *v_indep; |
69 |
|
|
70 |
/* Number of dependent variables */ |
/* Number of dependent variables */ |
71 |
int n_dep; |
size_t n_dep; |
72 |
|
|
73 |
/* The dependent variables */ |
/* The dependent variables */ |
74 |
struct variable **v_dep; |
struct variable **v_dep; |
94 |
|
|
95 |
void |
void |
96 |
levene(const struct casefile *cf, |
levene(const struct casefile *cf, |
97 |
struct variable *v_indep, int n_dep, struct variable **v_dep, |
struct variable *v_indep, size_t n_dep, struct variable **v_dep, |
98 |
enum lev_missing missing, is_missing_func value_is_missing) |
enum lev_missing missing, is_missing_func value_is_missing) |
99 |
{ |
{ |
100 |
struct casereader *r; |
struct casereader *r; |
156 |
static void |
static void |
157 |
levene_precalc (const struct levene_info *l) |
levene_precalc (const struct levene_info *l) |
158 |
{ |
{ |
159 |
int i; |
size_t i; |
160 |
|
|
161 |
lz = xmalloc (sizeof (struct lz_stats ) * l->n_dep ) ; |
lz = xmalloc (sizeof (struct lz_stats ) * l->n_dep ) ; |
162 |
|
|
186 |
static int |
static int |
187 |
levene_calc (const struct ccase *c, void *_l) |
levene_calc (const struct ccase *c, void *_l) |
188 |
{ |
{ |
189 |
int i; |
size_t i; |
190 |
int warn = 0; |
int warn = 0; |
191 |
struct levene_info *l = (struct levene_info *) _l; |
struct levene_info *l = (struct levene_info *) _l; |
192 |
const union value *gv = case_data (c, l->v_indep->fv); |
const union value *gv = case_data (c, l->v_indep->fv); |
241 |
static void |
static void |
242 |
levene_postcalc (void *_l) |
levene_postcalc (void *_l) |
243 |
{ |
{ |
244 |
int v; |
size_t v; |
245 |
|
|
246 |
struct levene_info *l = (struct levene_info *) _l; |
struct levene_info *l = (struct levene_info *) _l; |
247 |
|
|
261 |
static void |
static void |
262 |
levene2_precalc (void *_l) |
levene2_precalc (void *_l) |
263 |
{ |
{ |
264 |
int v; |
size_t v; |
265 |
|
|
266 |
struct levene_info *l = (struct levene_info *) _l; |
struct levene_info *l = (struct levene_info *) _l; |
267 |
|
|
290 |
static int |
static int |
291 |
levene2_calc (const struct ccase *c, void *_l) |
levene2_calc (const struct ccase *c, void *_l) |
292 |
{ |
{ |
293 |
int i; |
size_t i; |
294 |
int warn = 0; |
int warn = 0; |
295 |
|
|
296 |
struct levene_info *l = (struct levene_info *) _l; |
struct levene_info *l = (struct levene_info *) _l; |
343 |
static void |
static void |
344 |
levene2_postcalc (void *_l) |
levene2_postcalc (void *_l) |
345 |
{ |
{ |
346 |
int v; |
size_t v; |
347 |
|
|
348 |
struct levene_info *l = (struct levene_info *) _l; |
struct levene_info *l = (struct levene_info *) _l; |
349 |
|
|