You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
caseweights when test function doesn't support it #738
weightstats explicitly calculates statistics with taking weights into account, the "repeat" array is never used.
I dropped levene as method, because scipy.stats.levene doesn't support weights. The cheap (in terms of code) way out is to create the full repeat array and use it for those functions.
SPSS manual describes that they are doing this (after rounding of the weights to integers).
possible problem: because of the rounding nobs of expanded array might not be the same as round(sum(weights)) if weights are not integers. Maybe add or take away one random observation.
Activity