Re: Web scraping NFL data into Stata
Can you post the exact command you are typing and the exacterror that nfl2stata is returning?
View ArticleRe: Web scraping NFL data into Stata
nfl2stata scrape, season(_all)Starting to pull data. This will take a while...Processing 2009 game summary: [x/21 requests].........x.........x.invalid 'Support'
View ArticleRe: Export tables to Excel
I have a problem with tab2xl, it shows invalid syntax, and when I change the excel name, it begin says excel file open but i didn't open any excel file. Can someone help me?
View ArticleRe: Creating Excel tables with putexcel, part 2: Macro, picture, matrix, and...
any advice on how to put multiple outputs in one cell? ie a column of "Mean +/- SD"
View ArticleRe: Creating Excel tables with putexcel, part 2: Macro, picture, matrix, and...
or "Median (IQR)" etc
View ArticleRe: Web scraping NFL data into Stata
I'm having this same issue for every year while it's scrapping.
View ArticleRe: Web scraping NFL data into Stata
". nfl2stata scrape, season(2018)Starting to pull data. This will take a while...Processing 2018 game summary: [x/21 requests].........x.........x.invalid 'Support' Processing 2018 profiles: [x/24...
View ArticleRe: An introduction to the lasso in Stata
This is super clear. But one thing you do not explain is why you would prefer the post selection estimates to predict. Might you expand on when one should use the postselection estimates for this...
View ArticleRe: An introduction to the lasso in Stata
Other question: are there rules of thumb one can use to determine how one should split the data into training and testing subsamples. Imagine one has a lot of data (say 500K observations)....
View ArticleRe: Introduction to Bayesian statistics, part 2: MCMC and the...
This is a brilliant tutorial. I feel like I finally understood MCMC after days of trying. Thanks a lot!
View ArticleRe: An introduction to the lasso in Stata
Thank you for your question, Pierre. The post-selection coefficients are less biased than the penalized coefficients by definition. In the linear model, the post-selection coefficients may have better...
View ArticleRe: An introduction to the lasso in Stata
As far as I know, there is no such rules of thumb to determine the ratio between training sample and testing sample. Intuitively, more training data should not hurt because the selected model may...
View ArticleRe: Export tabulation results to Excel—Update
I keep getting the error message "option percentage not allowed" after I run the command:tab2xl var1 sex [w=wt] using test, row(2) col(2) replace percentageI updated to the latest command but I have...
View ArticleRe: Multilevel linear models in Stata, part 1: Components of variance
Hey, I am writing on Master´s Thesis and wondering if it is also possbile to calculate the R² for three level models by just adding the variance coefficient of the third level in the formula.I cannot...
View ArticleRe: Understanding omitted confounders, endogeneity, omitted variable bias,...
Hi, how i can gerate 4 variables in STATA that:y is the dependent variablex1 independet variableD is a dummy(independent variable) that takes the value 1 if , for example have good job and 0 if bad...
View ArticleRe: Export tabulation results to Excel—Update
Hello Everyone.I am currently using this package in stata 16. But it only works with oneway tabulations. I can't get it to work with twoway tabulations. It just says "invalid syntax" byt the syntax...
View ArticleRe: Calculating power using Monte Carlo simulations, part 2: Running your...
Parts 3 (Linear & logistic regression) and 4 (Multilevel/longitudinal models) are now available at the links given below.https://blog.stata.com/2019...https://blog.stata.com/2019...
View ArticleRe: Export tabulation results to Excel—Update
Run net install http://www.stata.com/users/..., replace. There was an issue with the current version for users.
View ArticleRe: Export tabulation results to Excel—Update
Run net install http://www.stata.com/users/..., replace. There was an issue with the current version for users.FYI: The updated version does not support weighted percentages.
View ArticleRe: Export tabulation results to Excel—Update
This indicates that there is already an existing excel file handle. This usually happens if tab2xl gets into an error-state. To fix: run the putexcel close command.
View Article