Displaying 20 results from an estimated 6000 matches similar to: "Question on exercise"
2012 Dec 29
2
question
I just install Dovecot and postfix. When I'm pull dovecot I see in the log
that its checking for mail. if a put a test message locally on the server
I can pull the message down to my cell phone and other computers. But when
I try to a message from gmail or aol it doesn't come in to the server.
it always bounces back to the place were I sent it from
2012 Mar 12
3
Finding the median
Hi just a quick question in which I must use the "function and return" part of R.
If I was asked to define a function called "median" where the function has a single argument x and returns the median value of a vector. How would I go about saying the median = element x in terms of n (say (n + 1)/2 or whatever it would be) if there is an even amount of elements, or x in terms
2013 Feb 25
3
Empirical Bayes Estimator for Poisson-Gamma Parameters
Dear Sir/Madam,
I apologize for any cross-posting. I got a simple question, which I thought
the R list may help me to find an answer. Suppose we have Y_1, Y_2, ., Y_n ~
Poisson (Lambda_i) and Lambda_i ~Gamma(alpha_i, beta_i). Empirical Bayes
Estimator for hyper-parameters of the gamma distr, i.e. (alpha_t, beta_t)
are needed.
y=c(12,5,17,14)
n=4
What about a Hierarchal B ayes
2005 Nov 17
2
R questions
Dear Sir/Madam,
I am a beginner in R. Here is my questions.
1. Can you give me one test for randomness (a name and descriptive
paragraph is sufficient).
2. I have learned a uniform random number generator [e.g. not the
algorithms: i)Wichmann-Hill, ii) Marsaglia-Multicarry, iii) Super-Duper
(Marsaglia), iv) Mersenne-Twister, v) TAOCP-1997 (Knuth), or vi) TAOCP-2002
(Knuth)] . Is there any other
2009 Mar 11
2
Question about datatypes/plotting issue
Hi,
I am trying to plot the Case-Shiller index found at: http://www2.standardandpoors.com/spf/pdf/index/CSHomePrice_History_022445.xls
The way I'm importing it into R is as follows:
library(gdata)
W <- read.xls("http://www2.standardandpoors.com/spf/pdf/index/CSHomePrice_History_022445.xls
", header=TRUE)
attach(W)
To give you and idea of what the data looks like:
>
2010 Mar 29
2
Combing
Hi all,
I want to combine two data sets (ZA and ZB to get ZAB).
The common variable between the two data sets is ID.
Data ZA
ID F M
1 0 0
2 0 0
3 1 2
4 1 0
5 3 2
6 5 4
Data ZB
ID v1 v2 v3
3 2.5 3.4 302
4 8.6 2.9 317
5 9.7 4.0 325
6 7.5 1.9 296
Output (ZAB)
ID F M v1 v2 v3
1 0 0 -9 -9 -9
2 0 0 -9 -9 -9
3 1 2 2.5 3.4 302
4 1 0 8.6 2.9 317
5 3 2 9.7
2011 Jan 08
1
Normal Distribution Quantiles
This is probably embarrassingly basic, but I have spent quite a few hours in Google and RSeek without getting a clue - probably I'm asking the wrong questions...
There is this guy who has decided to walk through Australia, a total distance of 4000 km. His daily portion (mean) is 40km with an sd of 10 km. I want to calculate the number of days it takes to arrive with 80, 90, 95, 99%
2010 Feb 14
1
R project
Dear Sir/Madam
Could you pls help me at these subjects in R-project?
How could I construct a table for 5 or 10 records of data set?
How could I construct a bar chart for categorical variable with overlay?
How could I construct a histogram for a categorical variable?
pls inform me.
Thanks in advanced.
Navid
_________________________________________________________________
Hotmail:
2010 Oct 19
1
Gini Coefficient
Dear List,
I am unsure if this is specifically a R question or a stats question? I thought i would ask here and if i get no replies it will answer that!
I am trying to calculate Gini coefficients in R, based on a slight modification of the typical equation that i have seen in a paper.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.pdf
Type:
2018 Apr 08
2
Syntax roccomp-using R
*Dear Bert, *
Thank you very much for your feedback and the useful link https://rseek.org/
and https://www.r-bloggers.com/calculating-auc-the-area-under-a-roc-curve/.
Actually, I want to know different performance between Stata and R, in
multilevel logistic regression. For this purposes, I replicate ".do" file
use Stata in
2004 Feb 22
6
help for MLE
Dear Sir/Madam,
I am using R version 1.8.1. I am doing following tast:
First generate 100 Gaussion(3,1) numbers, then write the likelihood function
to estimate the parameters of Gaussian distribution by direct maximizing the
likelihood function.
My likelihood function is:
>fn<-function(x)
>(-50*log((sd(x))^2))-50*log(sqrt(2*pi))-(1/2*((mean(x))^2))*(sum((x-(mean(x))^2))
After I
2012 Oct 26
1
Gini with bias correction
Hey there,
I was wondering if someone could tell me if there's a package or command
that allows me to compute a GINI coefficient using a vector of weights.
Also the coefficient should be bias corrected.
Diego Rojas
[[alternative HTML version deleted]]
2012 Mar 23
2
plot a BARPLOT with sd deviation bar up and down
dear Researchers,
i am looking for a function to plot a barplot for each mean value and the
related standard deviation, and i can close my week. This is an example of
my data set.
really Thanks in advance for any help or suggestions
Gianni
My.mean <- data.frame(Mean=c(0.4108926,0.3949009,0.4520346,
0.4091665,0.4664066,0.3048296,0.4297226,0.4056383,
2012 Mar 28
3
Logistic regression
Hi
does anyone know how to do a logistic regression in R?
any help appreciated
Carl
--
View this message in context: http://r.789695.n4.nabble.com/Logistic-regression-tp4512658p4512658.html
Sent from the R help mailing list archive at Nabble.com.
2009 May 19
1
fitting distribution
Hey Guys,
i have the sample variances for 1000 samples, and i want to fit it to a chi-squared distribution.
after making a loop for the simulation initially, i have the following code to compute the variances
samples = replicate(n, rnorm(m, 0, 1), simplify=FALSE)
variances = sapply(samples, var)
summary(variances)
can someone please help me fit this to a chi-squared distribution with n degrees
2012 Jan 04
1
function in R for my exercise
Hi R helpers!
I have a question. I'm trying to create a function for an exercise. Here are
the arguments I should include:
x and y are numeric
z is a name ("plus","minus","multiply","divide")
and swap is logical.
Here is what the function should do:
When z="plus", then x+y is performed and so on for the other z names. It
should give a NA
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus,
I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R?
################################################
\documentclass{article}
\usepackage{Sweave}
\begin{document}
2012 Mar 29
1
Defect ISO generation after yum upgrade
[cid:9FBAC256-5A30-4061-B74E-53A6B7B3D7BA at c-team.local]
Hi all,
Our own appliance is a Linux Kernel and 2 initrd files for filesystem - one system and one config partition. After the yum upgrade on our build machine ISO files are generated but useless. I you are able to see the picture I would like to know "who" writes the -
Loading /system.igz? failed!
Is it the kernel already
2016 Nov 15
2
CTMark - regular LLVM and CLANG compile-time tracking
Hi,
this is about kicking-off regular compile-time tracking for LLVM and CLANG on the green dragon: http://lab.llvm.org:8080/green/view/Compile%20Time/ <http://lab.llvm.org:8080/green/view/Compile%20Time/>. The goal is to stay on top of compile-time issues immediately when they occur so they can be assessed rather than creeping in unnoticed. The methodology is simple: form a CTMark suite
2010 Oct 08
2
Writing R code for "moments"
Dear Experts,
If I have a vector of numbers x.
(1) How can I write R code to compute the moments around zero of order one
to four?
(2) How can I write R code to compute the moments around the mean of order
one to four?
Thank you very much!
--
View this message in context: http://r.789695.n4.nabble.com/Writing-R-code-for-moments-tp2967946p2967946.html
Sent from the R help mailing list archive