Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Anyone with basic stata knowledge should be able to quickly help I am using stata with following input:use http://fmwww.bc.edu/ec-p/data/wooldridge/meap00_01, clear I am trying to run

Anyone with basic stata knowledge should be able to quickly help

I am using stata with following input:use http://fmwww.bc.edu/ec-p/data/wooldridge/meap00_01, clear

I am trying to run a regression for cigs, income, and restaurn variables. The part I need help with is creating two unique variables (or lists) for restaurn. Specifically I need var0 = if(restaurn==0) and var1 = if(restaurn==1). I can't figure out the syntax. Once I create these variables/lists, I will run:

regress cigs income var0 var1

Thank you!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra Math 1st Grade Workbook

Authors: Jerome Heuze

1st Edition

979-8534507850

More Books

Students also viewed these Mathematics questions

Question

Describe the dimensions of observation research.

Answered: 1 week ago