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

Re: Calculating power using Monte Carlo simulations, part 3: Linear and...

Thank you for such a useful blog post! One question that I have though is how would you do a one-sided test instead of the two-sided test?

View Article


Re: Customizable tables in Stata 17, part 4: Table of statistical tests

How to add a factor variable with a pvalue for example chi2? Group1 Group2----------------------------------------------------Age mean (sd) mean (sd) pvalueFemalegender n(%) n(%) pvalue/johan

View Article


Re: Customizable tables in Stata 17, part 3: The classic table 1

Why isn't the weight applied even though I used the weight option in the table command?Please refer to the comparison of the results of the following two commands. webuse hanleytable disease [fw=pop],...

View Article

Re: Customizable tables in Stata 17, part 3: The classic table 1

Since you are using frequency weights with -table-, you can obtain the sum of weights by typing, for example, -table disease [fw = pop], stat(sumw)- or by typing -table [fw = pop], stat(fvfreq...

View Article

Re: Customizable tables in Stata 17, part 7: Saving and using custom styles...

Excellent tutorials, Chuck. But in the example above (and in post #5) it would be useful to help us understand what c1,c2,c3,c4 mean... and in this latest example, which colname is associated with the...

View Article


Re: Estimation under omitted confounders, endogeneity, omitted variable bias,...

Enrique, thank you for sharing how to handle endogeneity issue. I really enjoy reading it!

View Article

Re: Stata/Python integration part 5: Three-dimensional surface plots of...

Hi,Thanks for the interesting tutorial. There are lot of possibilities.But when I tried to follow the instructions, I had a problem.After typing this command:ax.plot_trisurf(data['age'],...

View Article

Re: Comments are now open!

For the delta deviance influence diagnostic in logistic regression, it seems that Stata uses formula #5.26 in Hosmer, et.al. (2013). 5.26 is stated to be an "approximation" if the subject's Pearson...

View Article


Re: Customizable tables in Stata 17, part 3: The classic table 1

Is there a way to show the N's of groups in the second row like table1_mc does? E.g., Yes No Total N=742 N=598 N=1,340

View Article


Re: Customizable tables in Stata 17, part 3: The classic table 1

Can you omit levels of categorical variables? This table and the table1_mc show all levels of categorical variables which is helpful at time but overkill in others (e.g., Race = helpful -- Depression...

View Article

Re: Structural vector autoregression models

Dear David,I would like to compute the standard errors of the entries in C1,...,Ck in the RHS of eq(5) using STATA. Could you tell me how I can compute the standard errors? I could not find the...

View Article

Re: Stata for Mac with Apple Silicon

Can you tell us how much slower with Stata15, 14 on emulation compare to normal (running them on intel mac)?

View Article

Re: Stata for Mac with Apple Silicon

We demonstrated Stata running on an iPad years ago at a users group meeting. The issue isn't whether it's possible to run Stata on an iPad because it is. Is it possible to run Stata in its current form...

View Article


Re: Stata/Python integration part 1: Setting up Stata to use Python

hi!If in anaconda I have more than one environment, one per project, how can I call the specific environment that I want to use from statathank you

View Article

Re: Stata for Mac with Apple Silicon

I've only tested Stata 16 on Rosetta 2 and I'm basing these numbers on how long it takes to complete tests that we certify Stata with (they take several hours to run for each flavor). I would expect...

View Article


Re: Import COVID-19 data from Johns Hopkins University

How can we modify this loop to include 2021 dates as well?

View Article

Re: Estimation under omitted confounders, endogeneity, omitted variable bias,...

Enrique, thank you for sharing how to handle endogeneity issue. I really enjoy reading it!

View Article


Re: Stata/Python integration part 5: Three-dimensional surface plots of...

Hi,Thanks for the interesting tutorial. There are lot of possibilities.But when I tried to follow the instructions, I had a problem.After typing this command:ax.plot_trisurf(data['age'],...

View Article

Re: Introduction to Bayesian statistics, part 2: MCMC and the...

This is the best explanation i found on the internet. Thanks for the animations for the understanding.

View Article

Re: Introduction to Bayesian statistics, part 2: MCMC and the...

absolutely brilliant. In the above example, Binomial is a target distribution and beta is proposal distribution. Is it correct?

View Article
Browsing all 1125 articles
Browse latest View live