You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Removing leverage = infinite loop?
Accepted Answer
16 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457550
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457550
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457557
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457557
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457575
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457575
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457588
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457588
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457620
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457620
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457626
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457626
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457802
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457802
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457819
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_457819
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458390
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458390
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458399
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458399
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458433
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458433
- Firstly, arrange the data in a certain order, eg based on variable x1 in an ascending order?
- Secondly, segment them into few groups, with each contains about 30 - 60 data.
- Thirdly, 'generate variance estimates for each range'. Do the 'estimates' mean the real measured y in the data set but not the estimated/predicted y from the model? Here is the complication. As the instrument measurement error is not available in this case, and if the variance is calculated based on the measured or estimated/predicted y using the ' V = var([y1:y60])' function, the variance values will be affected depending how the data is arranged, right?
- Lastly, do the regression with the weight.
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458442
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458442
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458449
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458449
- Finding the variance within from each individual source (publication) may not be right, because different x1 will result in different y values.
- However, I think I can first group the data based on x1, eg: data where x1 ranging from 20 - 40 as group one, 41 - 60 as group two and let say five main groups are created. Then, within each of these groups, another three subgroups are created based on another variable, let say x2. And, no sub-subgroups are created as this will make the data thin. So, in total, I will have 5 main x 3 sub = 15 groups. I think this is the most appropriate point where I find the variance for these 15 groups?
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458455
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458455
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458460
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458460
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458472
-
Link
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/342396-removing-leverage-infinite-loop#comment_458472
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)