Displaying 2 results from an estimated 2 matches for "dyear".
Did you mean:
year
2010 Oct 10
0
rearrange command in quantreg package
...ncome=quantile(income, 0.3) stands for, in the newdata argument of predict.
Why use a specific quantile since we estimate the response's quantile
prediction as a function of the quantile index? (If I understand correctly).
So, if I use the following code the predict command seems to work fine
dyear<-dummy(ekc$year)[,-1]
dstate<-dummy(ekc$state)[,-1]
dekc<-cbind(ekc, dyear, dstate)
z.nox<-rq(nox~dyear+dstate+pcinc+I(pcinc^2)+I(pcinc^3), tau=-1, data=dekc)
zp.nox <- predict(z.nox,newdata=list(pcinc=ekc$pcinc,
dyear=dummy(ekc$year)[,-1], dstate=dummy(ekc$state)[,-1]), type=&quo...
2006 Jun 13
0
Get / Set date_select values before form submit
...utputs something that looks like:
<select name="widget[designedon(1i)]">
<option value="2001">2001</option>
</select>
I''m used to using prototype to access form elements, but I seem to be
missing something here.
I''m trying to do:
var dyear = $F(''widget[designedon(1i)]'');
Basically, i want to get/set the value of the select boxes based on input
from other form field elements -- "pre-filling" so to speak. Usually, when
all else fails, I just give my form tags an ID, and just use $() to access
them. Howeve...