Simple linear regression in Stata®

preview_player
Показать описание
Learn how to fit a simple linear regression model in Stata using the *regress* command.

Note that you can type *db predict* into the Command window to open its dialog box.

Copyright 2011-2019 StataCorp LLC. All rights reserved.
Рекомендации по теме
Комментарии
Автор

I never thought I'd be watching a regression tutorial on Stata on Saturday night

andme
Автор

I have seen many similar videos but nothing sounds good like this. U really understood the science behind the statics. Thank u!

thefasil
Автор

Senior in Columbia with a problem set due in 8 hours. Thank you :')

margravekevin
Автор

You can "automatically" plot the linear regression line by selecting GRAPHICS>TWOWAY GRAPH>

On the main tab, click CREATE, then select FIT PLOTS and the LINEAR PREDICTION (or LINEAR PREDICTION W/CI if you would like a 95% confidence band). The resulting command looks like this:

sysuse auto.dta
twoway (lfit mpg weight)
twoway (lfitci mpg weight)

jchuber
Автор

Thank you for developing these videos and helping several students and young professionals in Stats. However, could you guys update the videos? In the recent version of Stata, the buttons after one selects the "postestimation" button has changed.

jennifercontreras
Автор

thanks a lot for STATA. perfect tutorial.

hahmed
Автор

Yes, it's easy enough to this as a simple command: graph twoway (scatter wage tenure) (lfit wage tenure). No need to create extra variables actually.

kamion
Автор

powerful and helpful for my research!!

mathewsmonde
Автор

very good tutorial, greetings from Germany

BruellwuerfelTV
Автор

how can I show the equation of the regression line on the graph?

ladyn
Автор

Great video, how to you add a set of controls to avoid spurious correlations? Which tests are most important? which tests to use?

devils
Автор

Can you please, make a video on summary statistics for a single observation with multiple numerical variables? E.g a student registered 6 courses and he got a separate score in each. I want to get the mean, sd, min & max. All the scores are on a row not columns. Thanks. I am new to Stata but I have found your videos to be the best of the best so far.

yankubajarjusey
Автор

So when do you know when to use linear or logistic regression? Like this example, I’m looking at the relationship between wages and donations to a particular charity and used linear regression but been told log is better . Please help, thanks :)

JK-ezjp
Автор

the person talking in this video sounds like ruxin from the league! hahaha

luissyquia
Автор

Does Stata Software Perform Polynomial Regression Analysis?

andrepfferraz
Автор

Does it mean that Stata has no way of "automatically" get the regression line?

cotorot
Автор

How do I calculate variance of Total incase of using ratio, I couldnt find the command. For example: Y = (y/x)*X.

ThangNguyen-kuvz
Автор

please upload a video on heckman two stage correction model.

madihaanwar
Автор

I am not getting the variable names when i select to make a graph or anything. Please help.

ntiyar
Автор

Urgent! How do I find the function of the graph of the Linear regression in Stata?

madsfristednavne
welcome to shbcf.ru