similar to: Finding a mean value of a variable holding a dummy variable fixed

Displaying 20 results from an estimated 4000 matches similar to: "Finding a mean value of a variable holding a dummy variable fixed"

2008 May 02
1
GLMM and data manipulation (2nd try)
Hello, I posted a question yesterday but I got no replies, so I'll try to reformulate it in a more concise way. I have the following data, summarizing approval ratings on two different surveys for a random sample of 1600 individuals: > ## Example: Ratings of prime minister (Agresti, Table 12.1, p.494) > rating <- matrix(c(794, 86, 150, 570), 2, 2) > dimnames(rating) <-
2008 May 01
1
Data manipulation for random intercept GLMM
Hello, I am working on some examples of GLMM for my students but I am afraid that my way of preparing a dataframe to pass to lmer will make them think that R is a very difficult and un-natural language. Here is for example a simple data set about approval ratings on two different surveys for a random sample of 1600 individuals. > ## Example: Ratings of prime minister (Agresti, Table 12.1,
2007 Nov 01
2
ploting a comparison of two scores, including the labels in the plot
Hello r-help! I have data with two kind of ratings on status of 100 occupations. The first kind of rating is on the percieved "objective" status that these occupations have in society at large, and the second kind or rating is on the status that the respondents think that these occuption *should* have. The ratings were originally integer values in the rage 1-9, but in the current data,
2011 Apr 26
1
Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore
I was misconstrued as having insulted Minister Mentor Lee Kuan Yew. My words were twisted and misinterpreted and I feel that there is a need to explain myself and set the record straight. [b]What really happened[/b] It was sometime in Aug/Sep in the year 2009. The setting was in the Tampines Central office of Asiasoft Online Pte Ltd. I was having a ***verbal*** conversation with Melvin Lee,
2002 Feb 24
1
SFTP with dummy shells
Guys, There was some discussion a while ago on this list about making SFTP connections for users that don't have a "valid" shell. The solution i saw on the list was to use sftp-server as a shell. Now, that's fine and it seems to work. However, i would like to provide SFTP access to users with arbitrary shells, no matter if the shell exits immediately (/bin/false) or not (some
2017 Jun 23
1
Introducing minister
Hi All, Kubernetes and Openshift have amazing projects called minikube and minishift which make it very easy to setup those distributed systems for easy development. As the Gluster ecosystem grows, we have more external projects which require easy setup of multi node Gluster cluster. Hence, along those lines, I introduce to you...minister (mini + Glu"ster"). Please do check out the
2005 Mar 05
2
Streaming Council Debate on Software Patents via Cell Phone?
I'm looking for a solution to provide a live stream of the debate on Sofware Patents in Monday's EU Council of Ministers [1]. Here's what I've in mind: * Council --> mobile phone --> software answering machine --> Internet server * Council --> mobile phone --> VOIP --> Internet server Has anyone ever streamed something via a cell phone? How would you realize
2012 Aug 28
3
Course
Hello, I am a student of Materials Engineering and I want to minister an introductory course of R at the university I study here in Brazil. I know R is a free software, but I just want to know if I do need a special authorization for doing it. The course will be totaly free and I also will not receive any money for doing it. The idea is just to show the program. -- Atenciosamente, Pedro
2005 Mar 05
3
Asterisk for Live-Stream?
I'm looking into solutions for providing a live stream of an event in Belgium [1] - for example, as follows: * Event --> mobile phone --> software answering machine --> Internet server * Event --> mobile phone --> VOIP --> Internet server The live stream should be available in a format so that people can listen to it using XMMS or similar software. Comments? Would
2006 Jan 07
3
Can not install my bible program
I am very new to Linux but am enjoying it and liking it very much. I am up and running on debian sarge. Everything has been smooth except for one problem. I am invested in the Logos Bible Program and am trying to get it to run with wine. It gives me a textbox that says it must run on windows 98 ver or higher. I do not know what else to do. I am a minister and must use this program. What do
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof <- c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level
2008 Feb 09
2
Reading data from a dataframe
Thanks for the replies to my prior question. My problem is that R always says object not found when I enter a variable name into a command. I converted a Stata file into an Rdata file by first loading the foreign package by entering require(foreign) Then I asked R to read the Stata file by entering pol572a1<- read.dta("C:\\alex\\Graduate Coursework\\Pol 572\\pol572a1.dta") So
2008 Mar 27
2
Proper noun stemming
Hi All I was wondering if anyone had a solution for the following problem. I user QueryParser to stem my documents before adding them to a database. During the stemming process I would like to find a way of keeping proper nouns that span two or more words together as a phrase. For example "New York" or "Gordon Brown" or "Prime Minister" get spilt up. I see
2003 Apr 02
8
lm with an arbitrary number of terms
Hello folks, Any ideas how to do this? data.frame is a data frame with column names "x1",...,"xn" y is a response variable of length dim(data.frame)[1] I want to write a function function(y, data.frame){ lm(y~x1+...+xn) } This would be easy if n was always the same. If n is arbitrary how could I feed the x1+...+xn terms into lm(response~terms)? Thanks Richard -- Dr.
2008 Feb 09
4
Question
I have recently started learning R. I converted a Stata datafile into an R image file, but I am unable to do anything with the data. For example, I am unable to calculate the mean of any variable or create a scatterplot of some of the data. I always get a message saying, "Error in plot(rgnpc, incmean) : object "rgnpc" not found" when I attempt to make a simple plot of the
2007 Sep 03
1
API survey results & update
Thanks to everyone who voted in the API style survey. We had 10 votes altogether - we''re not electing the prime minister, after all - but it was decisively a yes. 90% (9/10) supported adding keyword constructors, and 77% (7/9) ruby-style accessors. The changes are summarised at the bottom of the email. We hope to have a 1.9.1 release incorporating these in the next week or two.
2011 Oct 05
1
lattice-dotplot: resize axis
dear all, I want to make a dotplot with ratings from Items in 6 ItemsGroups. I reordered the items by rating within each group. I plotted the items by rating conditional on ItemGroup. The ordering works as I wanted but my y-aches labels (items) within each ItemGroup are now unequally spaced, e.g., in some panels there is a gap between one lower rated item and the next higher, to give a picture
2011 May 08
2
help with mysql and R: partitioning by quintile
Hi, I have a mysql table with fields userid,track,frequency e.g u1,1,10 u1,2,100 u1,3,110 u1,4,200 u1,5,120 u1,6,130 . u2,1,23 . . where "frequency" is the number of times a music track is played by a "userid" I need to turn my 'frequency' table into a rating table (it's for a recommender system). So, for each user, I need to categorise the frequency of tracks
2010 Jan 17
1
how to manipulate this data? Thank you very much!
Hi, R experts: I am asking for helps with manipulating this data: we have different groups: A,B, C, and so on. In each group, we have different students, for example, we have 6 students in A and 5 students in B. Each student gives a rating, which ranges from 1 to 3. We want to manipulate this data and add three more variables called as 1, as 2 and as 3. For example, in group A, for each student,
2012 Oct 21
5
Error occured while evaluating nil
This is the code if !params[:ratings].nil? params[:ratings].each_key do |r| @selected_ratings << r @movies << Movie.where(''rating = :rating'', :rating => r) @sort = params[:sort] end elsif @selected_ratings = @all_ratings @movies = Movie.order(@sort) @sort = params[:sort] end This is the error You have a nil object