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

update question about brl #248

Closed
wants to merge 4 commits into from
Closed

update question about brl #248

wants to merge 4 commits into from

Conversation

clarkliming
Copy link
Collaborator

add vignettes about the difference in BRL sandwich estimator

matrix<double> di = chols.block(start_i, start_i, n_visits_i, n_visits_i);
matrix<double> bi1 = di * i_hxw.block(start_i, 0, n_visits_i, n_observations);
matrix<double> bi = bi1 * phi * bi1.transpose();
matrix<double> bisq = matrix<double>(bi.completeOrthogonalDecomposition().pseudoInverse()).sqrt();
Copy link
Collaborator Author

@clarkliming clarkliming Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was used here but seems not very handy (sqrt is from eigen/unspported); this part returns some random nan but not sure why this happens @danielinteractive

@danielinteractive danielinteractive deleted the 241_cr2 branch March 23, 2023 11:27
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

Successfully merging this pull request may close these issues.

1 participant