Quantcast
Channel: The Stata Blog - Latest Comments
Browsing all 1125 articles
Browse latest View live

Re: Web scraping NFL data into Stata

You must specify the season() option to remove duplicate names for each year. For example, to use this years stats you would type:nfl2stata player quarterback, season(2018) seasontype(reg) cleargraph...

View Article


Re: Export tabulation results to Excel—Update

Thank you!

View Article


Re: Export tabulation results to Excel—Update

This seems like a very useful command, but after installing it w/ Stata 15.1 and running it, Stata does not recognize the command tab2x1 - any idea why the bug? I must be missing something

View Article

Re: Export tabulation results to Excel—Update

I believe you need to use the command tab2xl not tab2x1 (not the number 1 but the letter L).

View Article

Re: Web scraping NFL data into Stata

Is there a more comprehensive set of documentation on all the commands and arguments somewhere?

View Article


Re: Web scraping NFL data into Stata

When you download the command type help nfl2stata in your Stata Command window to see the full documentation for the command

View Article

Re: Web scraping NFL data into Stata

this is a great option. Is it possible to get a similar command for the NBA?

View Article

Re: Web scraping NFL data into Stata

Check back next week.

View Article


Re: Export tables to Excel

Has anyone tried copy table & paste in excel? I feel it is the easiest way to do this.

View Article


Re: Nonparametric regression: Like parametric regression, but not

Hi everyone,I followed the (very useful) instructions here but I'm confused regarding one thing. I have a binary treatment T and a continuous covariate X. I'm interested in how the treatment effect of...

View Article

Re: Scheming your way to your favorite graph style

Just want to shamelessly plug -brewscheme- which is designed to make it easier for users to generate schemes, add customized names colors, proof their graphs for clarity across color sight impairments,...

View Article

Re: Scheming your way to your favorite graph style

Is there a proper/preferred way to handle alpha transparency in schemes for Stata 15? If so, can you provide some examples of scheme entries that modify alpha transparency?

View Article

Re: Importing Twitter data into Stata

I ran into the same issue. I'm using a do file that's worked well in the past and all of the sudden am getting this same error after setaccess. I ran the commands listed and get:. net install...

View Article


Re: How to automate common tasks

For an example of more extensive automation of common tasks check out eda: https://wbuchanan.github.io..., https://github.com/wbuchana..., or the slide deck from the talk about eda at this year’s Stata...

View Article

Re: Importing Twitter data into Stata

Make sure Stata is up-to-date. Type update all in your Stata Command window to update Stata.

View Article


Re: Web scraping NBA data into Stata

God bless Chris Hassell

View Article

Re: Estimating the parameters of DSGE models

David, I have followed the command you used but I keep receiving error messages as follows. Kindly help me with the do-file. Thanks Eric. dsge (p = {alpha}*E(F.r) + e)syntax error equation...

View Article


Re: Web scraping NFL data into Stata

How to find 5 year rolling correlation between two time series variables.My data starts from from first quareter of 1996 to 2nd quarter of 2018(both dates included).Which command do I need to use to...

View Article

Re: Comments are now open!

How to find rolling correlation between two time series variables.My data starts from from first quareter of 1996 to 2nd quarter of 2018(both dates included).Which command do I need to use to perform...

View Article

Re: Understanding matrices intuitively, part 1

Great explanations.

View Article
Browsing all 1125 articles
Browse latest View live