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

How to check the value of the tuning parameter lamda in "fect" #25

Closed
Yanxia-Yu opened this issue Jul 6, 2022 · 6 comments
Closed

How to check the value of the tuning parameter lamda in "fect" #25

Yanxia-Yu opened this issue Jul 6, 2022 · 6 comments

Comments

@Yanxia-Yu
Copy link

Hi Yiqing,

I've got two questions:

  1. When using the "fect" package in R to produce the MC estimates, a list of "lambda.norm" values is produced by iteration. What does "lambda.norm" mean?

  2. I've found that by specifying the range of lambda, we can avoid potential over-fitting with the MC estimator. Yet I don't know how to print the value of the lambda after the estimation. Please tell me how to do that?

My data and code are attached to this question. Please have a look and rely me at your earliest convenience. Thank you.

Regards,

Yanxia
Data & Code.zip

@xuyiqing
Copy link
Owner

xuyiqing commented Jul 6, 2022 via email

@lzy318
Copy link
Collaborator

lzy318 commented Jul 6, 2022

You can use the parameter lambda.cv, which is the parameter used in the paper.

@lzy318
Copy link
Collaborator

lzy318 commented Jul 6, 2022

The results of MC cross-validation are saved in out$CV.out.mc.

@Yanxia-Yu
Copy link
Author

You can use the parameter lambda.cv, which is the parameter used in the paper.

Thanks a lot. I now understand how to print the optimal lambda value (out$lambda.cv). Yet I'm still confused about the "lambda.norm" values in the output . MSPE is used as a criterion to produce the optimal "lambda.norm". My question is: what is "lambda.norm"?

@lzy318
Copy link
Collaborator

lzy318 commented Jul 9, 2022

Lambda.norm is the lamba.cv divided by the maximum eigenvalue of the outcome matrix. It is just one way of normalization.

@Yanxia-Yu
Copy link
Author

Lambda.norm is the lamba.cv divided by the maximum eigenvalue of the outcome matrix. It is just one way of normalization.

Thank you. ; )

@lzy318 lzy318 closed this as completed Jan 20, 2023
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

3 participants