Search results

Jump to: navigation, search
  • % distribution: define p as the probability of having an up-tick % when we treat p as a discrete distribution that can take values
    4 KB (609 words) - 22:31, 26 January 2015
  • R
    ...le) and then have R execute all these commands in one go. This then serves as a great documentation of the work you have done and most importantly it mak ...ndable that the webpages from which you get the R software aren't as slick as you expect. And the language tends to be somewhat more techy, but don't wor
    10 KB (1,527 words) - 09:10, 15 April 2021
  • ...o use packages is extremely important in R and will save you a lot of time as you will use solutions that have been programmed by other people. ..." function which appears to be designed to do the job. Keep this file open as we will need to consult it to understand how to use the function. But first
    5 KB (853 words) - 15:40, 23 September 2015
  • ...ment we shall learn how to define basic variables. Variables are important as we may use them later to save certain results (like t-statistics or standar ...ill often try a command directly in the console and once you know it works as you wish you may then copy it into your script file in order to save it int
    4 KB (722 words) - 22:39, 14 January 2015
  • ...embers of the labour force in the US (in 1975). It contains variables such as the number of children, the wage, the hours worked etc. A bit more detail o ...ur Excel file into a csv file. Open your data file in Excel and then "Save as ..." the file again and change the extension from an Excel file to a csv fi
    13 KB (2,113 words) - 12:31, 30 October 2015
  • ...the [[media:mroz.xls|mroz.xls]] dataset. It is easiest to import the data as we learned in [[R_Data#Converting_to_NAs_during_import]], taking care of mi .... That can be a slightly frustrating aspect of working with R, but as long as you remember that there are many solutions to the same problem you will be
    27 KB (3,816 words) - 16:41, 6 August 2015
  • ...none>lwage</source>, but the logarithm of the husband's wage doesn't exist as its own variable. Hence we are yet to calculate it. ...ect called <source enclose=none>reg_ex1</source>. You should think of this as some sort of folder in which R has now saved all the regression results. If
    13 KB (1,982 words) - 09:56, 29 August 2015
  • As you can see the estimated coefficients come in a considerable range (compar
    3 KB (456 words) - 23:43, 2 February 2016
  • ...CPI [[media:UKCPI.xls|UKCPI.xls]]. Download this and save it as a csv file as this will facilitate the upload to R. ...recognised as a time-series. We can now force R to recognise this variable as a time-series. Use the following command:
    11 KB (1,753 words) - 14:01, 28 August 2017
  • As described in more detail in [[R_Packages]] you should install the package t ...hich contains the sandwich package</span> and other relevant packaes (such as the one used for instrumental variables estimation [[IV_in_R]]). See [http:
    6 KB (968 words) - 15:35, 26 August 2015
  • mydata$wage &lt;- as.numeric(as.character(mydata$wage))</pre> <pre class="r">mydata$lwage &lt;- as.numeric(as.character(mydata$lwage))</pre>
    10 KB (1,495 words) - 14:27, 22 July 2016
  • As you can see, this output contains <span style="color:red">t-statistics</spa As was discussed in [[R_Regression#Accessing Regression Output]] the easiest w
    10 KB (1,604 words) - 18:07, 5 September 2015
  • ...ary (0/1) variables. And in some datasets you will find the data presented as such right from the start. This is, for instance, the case for the Baseball == Dummy variables as independent variables ==
    13 KB (1,724 words) - 09:40, 10 July 2015
  • ...he original variables and without the logged and differenced variables and as it turns out you will often not need these extra variables. ...rce>.). Both these are collected in a list and handed over to the function as <source enclose = none>index = c("county","year")</source>.
    12 KB (1,587 words) - 23:13, 3 March 2019
  • ...e down simultaneity bias, measurement error and omitted relevant variables as the three most common causes for this to happen. ...more could be useful as well. You always need at least as many instruments as you have endogenous variables. These instruments need to have the following
    18 KB (2,670 words) - 23:56, 7 August 2015
  • 24. yrsallst years as all-star
    3 KB (237 words) - 12:10, 23 July 2015
  • ...me are build, by default, into the R software, like the plot function. But as a regular user of R you will want to develop a wider range of graphics and As you know, the above package installation you will only have to do once on y
    11 KB (1,842 words) - 17:48, 24 April 2016
  • ...imensions). And let's say that you are actually mind controlling this fly. As you are a mathematical fiend you write down a very specific rule how the po ...te Tenkanen]). We will essentially let the fly fly and record its position as it flies and then we will plot the flight path in a cool picture.
    6 KB (1,196 words) - 10:09, 31 July 2015
  • ...imensions). And let's say that you are actually mind controlling this fly. As you are a mathematical fiend you write down a very specific rule how the po ...te Tenkanen]). We will essentially let the fly fly and record its position as it flies and then we will plot the flight path in a cool picture.
    6 KB (1,186 words) - 10:12, 31 July 2015
  • ...iable where the corresponding value for the <code>wage</code> was missing (as this would produce a &quot;TRUE&quot; from the <code>is.na( )</code> functi ...ing the education variable in such an analysis is likely to be problematic as it is likely to be correlated with the error terms. This will produce biase
    10 KB (1,502 words) - 21:22, 7 August 2015

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)