Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong calculation of PA and UA standard error #1

Closed
jonasViehweger opened this issue Jul 19, 2022 · 1 comment
Closed

Wrong calculation of PA and UA standard error #1

jonasViehweger opened this issue Jul 19, 2022 · 1 comment

Comments

@jonasViehweger
Copy link

jonasViehweger commented Jul 19, 2022

Vu<-c(Vu, eq28(R=U[i], X=R_U_dominator[i], Nh=Nh_strata, nh=nh[i],

nh is passed incorrectly to the eq28 function. It should be nh=nh instead of nh=nh[i].
The same issue also has to be fixed on line 284.

@hagc
Copy link
Owner

hagc commented Aug 20, 2022

Thank for spotting this bug. Fortunately, it impacts only the cases with varying sample size across strata, which is not so common. I'll release a new version of the package just to fix this.

@hagc hagc closed this as completed Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants