Yeah, that sounds like what we were thinking of.
From the wording in Problem 1.3, our impression is that instead of
using the systematic component of the scobit model, we should find a
way of generating a probability by inputting an X matrix or a vector
of Beta values.
Should we instead assume we will need to use both the scobit and one
of the CDF functions?
-Bernard
-----------------------
Bernard L. Fraga
Ph.D. Student, Harvard University
Government and Social Policy
bfraga at
what's a cdf (broadly): function that takes in a
number from the
real number line and outputs a number between 0 and 1
goal: find a function in R that takes in a number on the real number
line and outputs a probability
dt() takes in a quantile and outputs the height of the curve
pt() takes in a quantile and outputs the area to the left
qt() takes in a probability and outputs a quantile
rt() draws from the t distribution
On Thu, Mar 12, 2009 at 11:18 PM, Bernard L. Fraga <bfraga at
fas.harvard.edu
wrote:
Unfortunately, we're having
trouble figuring that out in R as well.
We're not clear on how to get an output value other than using dt(),
but that doesn't take an X matrix or vector of Beta values. Any
ideas here?
Thanks in advance.
-Bernard
-----------------------
Bernard L. Fraga
Ph.D. Student, Harvard University
Government and Social Policy
bfraga at
fas.harvard.edu
-----------------------
On Mar 12, 2009, at 11:15 PM, Patrick Lam wrote:
> think about what a cdf is and how you would do a standard normal
> cdf in R.
>
> On Thu, Mar 12, 2009 at 11:11 PM, sparsha saha <sparshahoneysaha at
gmail.com
>
wrote:
> I'm pretty sure no one
(besides people in the lab) is working on
> this week's prob set right now...so tfs this is for you
>
>
> how do figure out the cdf of a t distribution, do we need a
> formula? where is it? how do we find it? this is really hard
>
> help
>
>
>
> _______________________________________________
> gov2001-l mailing list
> gov2001-l at
lists.fas.harvard.edu
>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
>
>
>
>
> --
> Patrick Lam
> Department of Government and Institute for Quantitative Social
> Science, Harvard University
>
http://www.people.fas.harvard.edu/~plam
> _______________________________________________
> gov2001-l mailing list
> gov2001-l at
lists.fas.harvard.edu
>
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
--
Patrick Lam
Department of Government and Institute for Quantitative Social
Science, Harvard University
http://www.people.fas.harvard.edu/~plam
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l