search for: voter

Displaying 20 results from an estimated 54 matches for "voter".

Did you mean: vote
2004 Apr 16
1
Spatial Voter Model
Has anyone coded (in R) a spatial voter model with mutation (e.g., Kimura and Weiss 1964, Holley and Liggett 1975, Durrett and Levin 1996)? In principle, it is quite straightforward, but useful simulations require many many iterations, making my "straightforward" version too time intensive. I am happy to share my version (w...
2008 Aug 22
3
simple generation of artificial data with defined features
...ection from 2005: party number of votes percent SPD 16194665 34,2 CDU 13136740 27,8 CSU 3494309 7,4 Gruene 3838326 8,1 FDP 4648144 9,8 PDS 4118194 8,7 I want to show the agreement of voters measured by Fleiss-Kappa. To calculate this with the kappam.fleiss-function of irr, I need a data.frame like this: (id of 1st voter) (id of 2nd voter) party spd cdu Of course I don't plan to calculate this with the million of cases mention...
2009 Mar 15
3
read.xls question
I'm an R newbie and had a question about the read.xls function. I've heard that this is often not a reliable function to use for importing data. However, I have created numerous xls files which contain information about voter turnout and macroeconomic indicators in India. I'm writing a paper on the relationship between economic growth and voter turnout. This is the command I use: data <- read.xls("India.xls", header=TRUE) I get the following error message: Error: could not find function "read...
2012 Oct 11
2
survey package question
...re people actually vote (on average there are about 40 voting units for polling station) 3) for each voting unit I have the total votes by candidate (e.g., candidate 1 =322, candidate 2=122, candidate 3= 89) The initial sampling design is: 1) selection of 5 polling stations PPS (based on number of voters) 2) selection of 10 voting units (SRS) I am interested in estimating the proportion of votes by candidate (let's assume we have 3 candidates). My naive estimate would be: votes for candidate 1 / all valid votes = proportion e.g. candidate 1= 2132 / 10874= .1906 candidate 2= 5323 / 10874= ....
2012 Sep 17
5
Biometrics fingerprint scanner in RoR? Is it possible? and how?
I''m a graduating student of IT right now and in a couple of months, we''ll be starting on a new project in the University. My group and I decided to create a voting system which requires Fingerprint scanner to identify the voters and make the voting process more secured. I still don''t know how biometrics fingerprint scanner works exactly and I''ve just started to do some research. So my question is, is it even possible that RoR can use a biometrics fingerprint scanner? I''ve been searching th...
2024 Feb 15
2
2024 X.Org Board of Directors Elections Nomination period is NOW
...e themselves or any other member they feel is qualified. Nominations should be sent to the Election Committee at elections at x.org. Nominees shall be required to be current members of the X.Org Foundation, and submit a personal statement of up to 200 words that will be provided to prospective voters. The collected statements, along with the statement of contribution to the X.Org Foundation in the member's account page on http://members.x.org, will be made available to all voters to help them make their voting decisions. Nominations, membership applications or renewals and completed pe...
2013 Feb 19
4
Float::INFINITY ranges in where() clause
This seems like such an obvious idea that I''m having trouble believing I''m the first to think of it. Why not take ranges containing Float::INFINITY and translate them to the appropriate greater than or less than comparisons? Example: class Person scope :voters, -> { where(born_on: (-Float::INFINITY..18.years.ago)) } end This would generate something along the lines of "WHERE people.born_on <= ''1995-02-19''". A proof of concept implementation was easy to knock out: https://github.com/tpope/rails/commit/b98545a930546...
2010 Mar 23
2
Transform data set
Dear R Experts, I am having some trouble creating a variable in R. I have data on self-placement of voters, their placement of parties, and which party they feel closest to. The data is structured like this: Party_Close lrplaceself lrplaceParty1 lrplaceParty2 ... party1 2 4 5 party2 5 6 4 party1 6 2 1 etc... I want to format the data set so it looks like this: Party_Close lrpla...
2012 Jun 15
3
moving from loops to apply
...de for the loop is: distances <- matrix(NA, 1000, 5) distancer <- function(x, y){-(abs(x-y))} x <- as.matrix(rnorm(1000, 5, 1.67)) y <- rnorm(5, 5, 1.67) for (v in 1:1000){ distances[v,] <- distancer(x[v,], y) } The goal is to calculate the distances between the preferences of each voter (X) and all parties (Y). This gives a 1000 by 5 matrix (distances). If I want to transform this to apply, what would be the best way to go? More specifically, I am not sure what to put into the X part of the apply function. Sorry, for asking this question that is already much debated, I just don&...
2006 Nov 26
1
starting Samba and removing PCNetlink
...log file = /usr/local/samba/var/log.%m # passdb backend = tdsam socket options = TCP_NODELAY local master = no os level = 33 domain master = no wins support = yes wins proxy = no dns proxy = no [voter] comment = rec1:/global/voter path = /global/voter/voter1 guest ok = yes read only = no creat e mask = 0777 [printers] path = /var/spool/samba printable = yes browseable = no gue...
2005 Mar 09
0
Setup Help - Apache/FastCGI/subdirectory
OK, I am stumbling forward bit by bit, learning as I go. The details: - Running under Apache on Mac OS X Server (10.3.5) - Obtained and installed FastCGI via instructions at rubyonrails.com (installation appears to be OK) - My app is called Voters and it lives in /Voters/ Where I am stuck is that I have found several sets of instructions for setting up a Rails app as I intend, using some combination of .htaccess rewrite rules and "routes.rb" entries. Problem is, I haven''t found two that are exactly alike and I'...
2007 Feb 25
0
Overdispersion in a GLM binomial model
Hello, The share of concurring votes (i.e. yes-yes and no-no) in total votes between a pair of voters is a function of their ideological distance (index continuous on [1,2]). I show by other means that the votes typically are highly positively correlated (with an average c=0.6). This is because voters sit together and discuss the issue before taking a vote, but also because they share common ideo...
2005 Apr 19
1
a statistic question,a bit off-topic,but important
it seems that all the existing prop test assume 2 independent or matched sample.but in the real world, many situations are not as we assume.for example,i do a research on the voter's prefernce through a random sampling.and the sample shows that 23% of the sample choose A,28% choose B,the others choose C.and i want to test the diference between the proportion choosing A and B (23%-28%=-5%) is sinificant or just due to sampling error. i think the prop.test is not proper her...
2011 Feb 25
1
Markov chain transition model, data replication project
Hello all, I am currently attempting to replicate data from a political science article that utilized a Markov chain transition model to predict voter turnout intention at time *t*; the data was separated into two different models based on whether prior intent was to vote or not to vote. The details don't really matter. Mostly I am curious how to run a Markov chain transition model in R, estimating different coefficients for two prior condi...
2004 Jul 06
2
Kerry/Edwards campaign and VOIP
I am trying find a way to help the local Kerry campaign and it occurs to me that VOIP and Asterisk could be a big help. I have never worked on a presidential campaign before but I think they must be very telephone call intensive. Using VOIP to connect local, regional and national campaign offices and to keep volunteers in touch with each other would save lots of money that could be spent on
2008 Feb 16
2
Possible overfitting of a GAM
...ook and vet the model for overfitting the data. The study estimated the ebb and flow of traffic through a voting place. Just one voting place was studied; the election was the U.S. mid-term election about a year ago. Procedure: The voting day was divided into five-minute bins, and the number of voters arriving in each bin was recorded. The voting day was 13 hours long, giving 156 bins. See http://tinyurl.com/36vzop for the scatterplot. There is a rather high random variation, due in part to the fact that the bin width was intentionally set to be narrow, in order to improve the amount of tim...
2008 Jul 14
0
nlme, lme( ) convergence and selection of effects
...lme package. =>Data Organization: Data is unbalanced. 4946 observations. Each row in the data frame has info on the individual candidates (educational level, marital status, sex, age, party, etc) and on the states in which they run for election (literacy rates, district magnitude, number of voters, urban population rates, sex ratio, etc). Individual atributes vary within state and party%in%state. State atributes vary between states. Though political parties are present across states, I have reasons to believe that they behave differently in each state. Example: State ID L...
2008 Jul 09
2
build matrix with the content of one column of a data frame in function of two factors
Hello, First, thanks for your help (and sorry for my english !) I have a data frame in which each row represents a vote (in percent, only 20,40, 60,80,100) of one person on one content, with three columns : name (the name of the voters), content_id, vote : str(votesredac) 'data.frame': 1000 obs. of 3 variables: $ name : chr "Guillemette Faure" "Guillemette Faure" "Guillemette Faure" "Pascal Rich\xe9" ... $ content_id: num 385241 384926 384635 383266 384814 ... $ value...
2009 May 23
2
how to adding colors to data points in scatter plot in R?
Does anybody know how to adding colors to data points in scatter plot in R? I have the following R data frame - Voter_Name, Education_years, Income, Registered Ricky, 18, 40000, Y Lisa, 20, 34000, N Jon, 10, 35000, Y ... I am doing a scatter plot in R for those data points - Income vs. EducationYears. I would also like to using different colors to differentiate whether that data point is a Registered Voter or...
2011 Jul 11
2
Pre-populating association
...rd::Base belongs_to :survey has_many :preferences end class Ballot < ActiveRecord::Base belongs_to :survey has_many :preferences end class Preference < ActiveRecord::Base belongs_to :ballot belongs_to :question end To be clear: a survey is the set of questions and a ballot is a voter''s set of answers (preferences). I''m using the nested route: /surveys/[:survey_id]/ballot/new for the voting page. What I''m having trouble with is pre-populating the ballot with empty preferences. When ballot/new is called, I do this: def new @survey = Survey.find(p...