Displaying 2 results from an estimated 2 matches for "party_id".
Did you mean:
part_id
2010 May 20
0
Compressed values on y-axis in effects plot
Dear colleagues, the code below generated the two effects plots that I
have attached. I hope they are not stripped.
The original two models are as follows:
green_shift_mod=glm(green_shift ~ educ+party_id+educ:party_id,
family=binomial, data=x)
carbon_tax_mod=glm(carbon_tax ~ educ+party_id+educ:party_id,
family=binomial, data=x)
Then, I try to plot the effects of party_id by education for both models
It works well for carbon_tax_mod; but for green_shift_mod, effects
plots the effects of part...
2006 Apr 05
2
RJS and remote forms
...d}", :partial =>
''guest_form'', :locals => { :guest => party.guests.build }
end
end
_guest_form.rhtml is:
<tr>
<% remote_form_for :guest, guest, :url => { :action => ''create_guest''
} do |f| %>
<%= f.hidden_field :party_id %>
<td><%= f.text_field :first_name %></td>
<td><%= f.text_field :last_name %> <%= submit_tag %></td>
<% end %>
</tr>
Unfortunately, when the form is submitted, params[] contains only the
party_id, and not the other values I?v...