Skip to content
New issue

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

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

Already on GitHub? # to your account

Robust estimation fails when id variable is a factor #26

Open
mbg-unsw opened this issue Feb 6, 2025 · 0 comments
Open

Robust estimation fails when id variable is a factor #26

mbg-unsw opened this issue Feb 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mbg-unsw
Copy link
Owner

mbg-unsw commented Feb 6, 2025

wtdttt() and ranwtdttt() work correctly when the id variable is a number, character or factor.

Calculation of the robust variance-covariance matrix fails when the id variable is a factor, leading to undefined values (NA) for standard error, Z value and P value.

@mbg-unsw mbg-unsw added the bug Something isn't working label Feb 6, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant