instruction stringlengths 9 38.7k |
|---|
From Wikipedia
There are two common assumptions made about the individual specific effect, the random effects assumption and the fixed effects assumption. The random effects assumption (made in a random effects model) is that the individual specific effects are uncorrelated with the independent variables. The fixed ef... |
I have two binary variables, $X_1$ and $X_2$, which take value in {0, 1}. The overwhelming majority of their values are 0. I wanted to know if there is a way to appropriately measure their association given that the majority of their values are zero. Note that I am also opened to dependence tests as well.
I was looking... |
I have an ecommerce dataset with revenue, orders, AOV, visits, unique visitors and pageviews for three countries and datasets with just visits, unique visitors and pageviews for 7 countries for the past 600 days. The 7 countries have no ecommerce data because the store does not ship to them. The store is looking into w... |
Data description: I have data from questionnaire data on 15 participants (small sample). Parents rated the frequency that they rough and tumble with their child: (1) Never, (2) not very often, (3) once per month, (4) once or more per week, (5) every day.
Initial analyses: So far I have created several bar charts and a... |
Is there any tool that can calculate the AUC value from a ROC curve if I already have true positive, true negative, false positive, false negative values.
|
I have a large panel-like data set: about 15,000 individuals, on average 350 time points, two dozen variables (plus some more variables we left out for context-specific reasons).
What I want to achieve is a model explaining one dependent variable $y$ by (some of) the other (i.e. explanatory) variables $x$. As a first s... |
The data contains two groups and the intended comparison will be completed via independent t-test. Options that I have considered is using the entire sample's mean or one of the group means. However, I am concerned about inflating the differences between the groups. Which method is most ideal and why?
|
Under mild conditions $\dfrac{\bar{X}-\mu}{\sqrt{\sigma^2/n}}$ approaches the standard normal (where $\sigma^2$ is the process variance, not the marginal variance $\sigma^2_x$).
Why is the denominator not the standard error for the sample mean of dependent data, specifically
$\sqrt{\frac{\sigma_x^2}{n}\times [1 + 2*\su... |
We had students take a test with 20 questions and had them indicate their confidence levels for each question. In one test format, the confidence prompt was adjacent to their test question while in the alternate format, their responses to the test question and confidence had to be indicated on a separate form. The co... |
In Generalized Linear Models by Peter McCullagh, John Ashworth
Nelder,
the exponential family distribution has the following
form: $$ f_Y(y; \theta, \phi) = \exp \{ (y\theta - b(\theta))/a(\phi) + c(y,
\phi)\} (2.4) $$ Then the mean is $$ EY = b'(\theta) $$
I was wondering if in general, is $b'$ assumed to be... |
[This question is similar to How to assess the improvement from a treatment?]
I'm attempting to characterize what appears to be an obvious improvement in performance as a result of some changes to a software application. I've run the application five times without the optimization ('A' represents the timing for such) a... |
I have used the principle of maximum entropy to justify the use of several distributions in various settings; however, I have yet to be able to formulate a statistical, as opposed to information-theoretic, interpretation of maximum entropy. In other words, what does maximizing the entropy imply about the statistical pr... |
I am using SPSS to perform Cox regression. After finding all the significant covariates, there is a table called correlation matrix of regression coefficients.
My question is what kind of information can I interpret from this table? If I see high correlations between the regression coefficients of two covariates, for e... |
I am using the function svm from the package e1071 in R to generate a support vector machine model. I have a very large data set, and for the moment, while in an exploratory mode, want to simply read in small slices of the data that can be modeled on my single machine.
After obtaining the model results, I would like... |
I have the following histogram of count data. And I would like to fit a discrete distribution to it. I am not sure how I should go about this.
Should I first superimpose a discrete distribution, say Negative Binomial distribution, on the histogram so that I would obtain the parameters of the discrete distribution and ... |
I have a correlated multivariate Bernoulli random variable $\textbf{X} = (X_1, ..., X_N)$, where the $X_i$ are Bernoulli random variables with parameters $p_i$ and $N \times N$ covariance matrix $\textbf{C}$.
How do choices of $p_i$ constrain choices of $C$ and vice-versa?
In one extreme case, where the $X_i$ are all i... |
I recently did some experimenting comparing some common method of internal validation. In my field, the use of a single 1:1 holdout validation is extremely common, even with very small datasets, and I wanted to show my colleagues that there might sometimes be alternatives.
I had a large dataset of approx 30,000 observa... |
Following are the results from Fisher-type unit-root test for RDI (dependent variable). How do you interpret it?
Based on Phillips-Perron tests:
Ho: All panels contain unit roots Number of panels = 100
Ha: At least one panel is stationary Avg. number of periods = 10.74
AR parameter: Pan... |
I have some 2d data that I believe is best fit by a sigmoid function. I can do the fitting with the following python code snippet.
from scipy.optimize import curve_fit
ydata = array([0.1,0.15,0.2,0.3,0.7,0.8,0.9, 0.9, 0.95])
xdata = array(range(0,len(ydata),1))
def sigmoid(x, x0, k):
y = 1 / (1+ np.exp(-k*(x-x0))... |
Young children were given a questionnaire before and after a presentation. There were 6 questions to answer yes or no. I would like to find out if there is a significant difference between the questionnaires taken before and after the presentation.
I could score each test and do repeated measures testing, but the q... |
In my data, I have a class variable, denoted as $C$. This class variable values are ${0, 1}$ (binary). Almost all observations of $C$ are 0 (close to 100%, more precisely, 97%). I would like a "performance" test on different classification models (it could be accuracy). What I am afraid of happening is that if I have a... |
OpenCV provides an implementation of random forest named random trees and derived from a decision tree class. One parameter to train the random forest is the maximum depth, which in the provided examples is typically between 10 and 20. I learned that random forest is generally grown to its full depth and no pruning is ... |
I have two sets of data of protein-protein interactions in a matrices entitled: s1m and s2m. Each DB and AD pair make an interaction and the one matrix looks like:
> head(s1m)
DB_num AD_num
[1,] 2 8153
[2,] 7 3553
[3,] 8 4812
[4,] 13 7838
[5,] 24 3315
[6,] 24 6012
I can then... |
We simulate $E(\exp(z))$ by Monte Carlo method,where $z\sim{}N(0,1)$. For sample sizes $2^{16}$ and $2^{17}$, the variance errors are 0.00531 and 0.00364, respectively. The ratio of these two errors is approximately $1.5$. My questions are:
(1) What information can we learn from this ratio?
(2) Why should the ratio app... |
Is there any tool that can calculate the AUC value from a ROC curve if I already know how many samples are true positive, true negative, false positive, false negative out of 500 samples?
Specificity and sensitivity are also known to me.
|
I'm up to perform certain kinds of sparse decomposition methods on my dataset. However, I'm not sure: what's the tractable data size for the Sparse Decomposition methods?
The dataset is a $10^3\times10^5$ binary matrix, and the expected methods are Sparse PCA, which aims to find a decomposition with minimized coordinat... |
Say I have a sequence of length $n$ of $k$ different elements, s.t. $n > k, k > 2$. I want to show this sequence is random, based on the number of runs. I found this paper by AM Mood which explains how to find the expected values and variances of the number of runs of each type, but I'm unsure how to show that a sequen... |
I'm trying to deeply understand the Probabilistic Latent Semantic Indexing (PLSI) algorithm.
The generative model underlying the algorithm is the folowing:
Select a document $d \in D$ with a probability $P(d)$
Select a topic $t \in T$ with probability $P(t|d)$
Generate a word $w \in W$ with a probability $P(w|t)$
whe... |
In epidemiology, this occurs often: Old people are less prone to the influence of risk factors. For example, the Framingham risk score, which tries to estimate cardiovascular risk, gives 8 or 9 points to smokers in their twenties and thirties, but only 1 point to those in their seventies (more points correspond to high... |
Is there any way to calculate variable importance in R for SVM regression and averaged neural networks?
I've been using caret package, that has varImp function in it
> m <- best.tune(svm, train.x = descr[rownames(tr[[i]]),2:ncol(descr)],
train.y = tr[[i]][,1], data = df, cost = 2^(seq(0,10,5))),
tunecontrol = tune.c... |
Correlation does not imply causation.
Causation does imply correlation but not necessarily linear correlation.
...
So does correlation imply high-order causation?
If A and B are correlated, is it always possible to find K={K1 K2 ... Kn} variables such that
A~K1, K1~K2, ...,Kn-1~Kn and Kn~B
where ~ denotes causality.
... |
For an applied economics paper, I am looking for a 2-parameter probability distribution function that has the following properties:
Simple, closed-form PDF $f(x)$ and CDF $F(x)$, defined on the interval $[0, M]$ (where $M$ may be infinite).
$f(x)$ is bell-shaped, in the sense that it is convex and increasing on $[0,a]... |
I have the following data frame
structure(list(Chi = structure(c(1L, 1L, 5L, 5L, 6L, 9L, 9L,
12L, 13L, 14L, 14L, 16L, 16L, 19L, 19L, 20L, 20L, 23L, 24L, 24L,
26L, 26L, 31L, 31L, 33L, 33L, 36L, 37L, 37L, 40L, 40L, 43L, 43L,
44L, 44L, 45L, 46L, 47L, 47L, 48L, 48L, 52L, 52L, 54L, 54L, 55L,
55L, 56L, 59L, 59L, 61L, 61L... |
I am running a Cox regression analysis in R where both my predictors are binary (Animal_Number: single vs. paired; and Treatment: control vs. exposed). I therefore have four groups (single control, paired control, single exposed and paired exposed). When I run my Cox regression, I get the following output (excerpt):
... |
I have fit several generalized mixed models for a multinomial distribution data in SPSS.
I want to select the best one for explaining my data. But comparing the AIC and selecting the lower AIC model gives me a model without sense and its accuracy is lower than others with higher AIC.
I want to test if there is any sta... |
I am collecting papers about the uniform shrinkage prior for hierarchical Bayesian model.
In "A prior for the variance in hierarchical models" of Michael J. Daniels it is stated at the end of page two that:
An alternative proper prior, shown to give a minimax estimator for the k means for the above model by Strawderm... |
I would like to sample from:
$$
p(\theta_2|x)=\int p(\theta_2|\theta_1,x) . p(\theta_1|x) . d\theta_1
$$
Several persons suggest me to use the following procedure to draw $(\theta_2^i)_{i=1:N}$:
for i=1:N
draw $\theta_1^i$ from $p(\theta_1|x)$
draw $\theta_2^i$ from $p(\theta_2|\theta_1^i,x)$
this appears intu... |
I have data that looks like this
I just want to predict the rest of 2013. What is the best way of doing this.
I used Excel's Forecast formula which uses linear regression.
I only have minor/very little knowledge in stats.
|
I was recently trying to find a way to compute the KL-divergence between 2 populations that are normally distributed using the mean and variance of each population. But I found several different formulas and don't know which one to use exactly.
The first equation below from a research paper called "Endo A, Nagatani F, ... |
I have two long vectors (both of the same size=12000 and each of them contains variance values). I want to perform Wilcoxon test to test if the variances in the first vector are different than the second vector. As the vectors are of long size, I had to use the normal distribution approximation. Simply, I used matlab's... |
I'm working on a classification model that will predict whether a sales opportunity will end up 'won' or 'lost', given various attributes of the opportunity. I've been using my training data to build several models, including a random forest model, logistic regression, a decision tree model, ada boost model, and suppor... |
I am kriging a 3D geospatial model of saturation data. There is water saturation ($SWT$), gas saturation ($SGT$) and oil saturation ($SOT$). A constraint is that the saturations must add up to one. ($SWT + SGT + SOT = 1$). I want models of SWT and SGT and don't really care about the oil saturation, but I do need $SWT +... |
What causes the different results below?
var1 = c(0.04875,0.13725,0.28350,0.50975,0.77425,0.94700,0.05325,0.14050,0.29725,0.51525,0.79000,0.95400,0.04625,0.15250,0.29000,0.53300,0.79825,0.95225,0.05025,0.14625,0.28800,0.52625,0.78200,0.95925,0.04700,0.14225,0.30325,0.53500,0.79325,0.95875,0.04775,0.13850,0.28675,0.54... |
I have created cognitive summary scores from a battery of 17 neuropsychological measures. I standardized the raw scores of my patient group to the mean and standard deviation of a matched healthy control group and then averaged these standardized scores to create a composite score. The resulting composite scores were... |
Simple question: What is the update equation of a $x_i$ in a Gibbs sampling update, $p(x_i | x_{-i})$, if I have the Model:
$\theta$ $|$ $\alpha \sim Dir(\alpha)$
$X_i$ $|$ $\theta \sim Discrete(\theta), i = 1, 2, 3$
Is it the predictive distribution of a dirichlet multinomial?
$\frac{N_i + \alpha_i}{\sum^k_{j=1}(N_j ... |
I performed a meta-analysis with 5 RCTs measuring odds ratios of event rates in patients receiving and not receiving a treatment. P of the pooled data resulted > 0.05; this result is acceptable for me.
What is the best way to deal with publication bias? I initially used the Begg test but this method is known to be un... |
The method that I'm familiar with for constructing a random forest is as follows:
(from http://www.stat.berkeley.edu/~breiman/RandomForests/cc_home.htm)
To build a tree in the forest we:
Bootstrap a sample of size N where N is the size of our training set. Use this bootstrapped sample as the training set for this tre... |
Suppose I have repeated observations on individuals, which I've analyzed using a generalized estimating equation (GEE). What is the procedure for computing the prediction interval for future observations given values of the predictors? I would appreciate either instructions or references. Thank you.
|
What is the difference between quasi-likelihood estimating equations, and GEE?
From a note
Quasi-score function is for independent, over-dispersed data (Poisson or binomial), while GEE1 is for correlated data.
But it seems to me that in the note, their equations both don't take
into account the correlation between d... |
I currently have a gradient boosting model that uses the gbm package in R that classifies observations at the end of a year. Daily behaviors are logged for each observation (with most of them zero). The model is built on observations which have a year's worth of complete data and performs well out of sample.
For illus... |
I am performing $N$ independent statistical tests with the same null hypothesis, and would like to combine the results into one $p$-value. It seems that there are two "accepted" methods: Fisher's method and Stouffer's method.
My question is about Stouffer's method. For each separate test I obtain a z-score $z_i$. Under... |
I'm setting up a logistic regression that models a probability $\mathbb{P}_t$ of certain events. The probability is changing over time and I want to add proportions of past observations that estimate this probability. Suppose I have a proportion $q = \frac{\text{#positives}}{\text{#total}}=\frac{b}{c}$ that estimates $... |
This is a problem with which I have been grappling with for days. From my research on self-organizing maps, I know that a common feature of self organizing maps is to reduce the dimensionality of data. For example, if you had a 3x3 SOM, and an input space consisting of 50 10-Dimensional vectors, the SOM would reduce th... |
Let $x=(x_{1},\dots,x_{n})^{T}$ be $n$ dimensional random vector uniformly distributed over the $L1$ unit sphere. That is, all $x$ such that $\|x\|_{1} = 1$ have equal probability and all other $x$ have zero.
Let $\{c_{i}\}_{i=1}^{n}$ be $n$ vectors such that $\|c_{i}\|_{2}=1$.
How can one show that:
$\mathbb{E}_{x}\... |
Okay, so I sent a confession of love to a girl detailing several reasons and coming up with a 90% probability that I will be with her together for my whole life.
But I then thought that I was supposed to be a frequentist and not a Bayesian, because I cannot start up 100 samples of me and her in a virtual machine and bu... |
Are goodness of fit and lack of fit the same?
If they are tests, is one's null the other's alternative?
|
I want to generate a spatial data following multivariate Gaussian distribution.
However, I don't want it to be homogeneous, meaning I don't want the correlation/covariance to be homogeneous. I want it to be heterogeneous.
Any suggestions on how to generate such data?
Here is an example of what I mean by heterogeneous... |
Description:
Let the problem domain be document classification where there exists a set of feature vectors, each belonging to 1 or more classes. For example, a document doc_1 might belong to Sports and English categories.
Question:
Using neural network for classification, what would the label be for a feature vector? w... |
I recently started reading "Introduction to Bayesian Statistics" 2nd Edition by Bolstad. I've had an introductory stats class that covered mainly statistical tests and am almost through a class in regression analysis. What other books can I use to supplement my understanding this one?
I've made it through the first 100... |
What are the lesser-known but powerful probabilistic inference algorithms?
Most references about probabilistic graphical models describe popular inference methods like Variable Elimination and Junction Tree. However, I think that there are a huge number of other important probabilistic inference algorithms out there. E... |
I have 1 subject rating 40 participants on the big five personality traits and other variables. these 40 participants are in 2 conditions (20 each). I want to compare whether there is a difference between how the subject rates the two conditions. I know it sounds like paired samples, but doesn't paired samples compare ... |
I'm preparing to use R to perform sparse analysis on my data. I tried to get started with an ad hoc example, but the reconstruction result turned out really poor. I'm wondering if I was making any mistake in the code, or was I encountering any intrinsic drawbacks of the method?
The data is ad hoc:
> prod
[,1] [,2]... |
I calculate multiple linear regression in R with
lm(var ~ VAR1+VAR2+VAR3+VAR4)
Do you know how to calculate R-squared change for each variable VAR1, VAR2, VAR3 ?
Thank you
|
I'm running the below Bayesian mixing model in R using the rjags package, but I am having difficultly in specifying the scale matrix for the Wishart distribution. Essentially, I want Sigma.inv to be a covariance matrix that accounts for instrumental measurement error as determined from repeat analysis of a control samp... |
I have read some papers and other materials about the evaluation of recommender systems (RS). Most of them discuss the various properties of RS (e.g. accuracy, diversity, etc.), and metrics for different tasks (e.g. RMSE, precision, recall, etc.), and some protocols. But I am still not very clear about data partitionin... |
I have a mixture Markov model (containing K clusters, or components) that I am trying to train, e.g perform clustering over a set of varying length sequences. Each component of the model is a first order Markov chain. The model is defined by the following:
where
is the model describing behaviour of sequences in the k... |
I urgently need your help to read the results of my regression analysis for my master thesis, which I need to hand in next week.
My DV is the natural logarithm of R&D expenditures, IV is a dummy variable labelled Decline, where 1= Firm is in a decline and 0= Firm is not in decline. The moderator is managerial ownership... |
I did an exam, which the comment given was that my answers to two questions were too "short" or lacking… (I do not know what was lacking). I would like to learn and understand. As I remember I think I used something called an on line calculator for categoric values when I came to my answers.
The exam questions were:
S... |
I have some spatial data and I want to fit a correlation function may be exponential or gaussian to my data. I could calculate the correlation for different pairs of my spatial point to get some empirical correlation function. What is the best way to fit some standard correlation functions to my empirical one.
I tried ... |
I have come across an industry example of a simple linear regression ($y=a+bx+\epsilon$) where the slope coefficient has been adjusted by the mean of $y$ ($b/\text{mean}(y)$) and described as a "slope impact". The exact interpretation that they use is that this slope impact represents "the percentage change in $y$ for... |
I'm analyzing customer satisfaction for a certain program. My response variable is ordinal- where 0 means dissatisfied and 1 means satisfied. I have 10 predictor variables. I used Binary logistic Regression on my data, and the results showed that 6 of my 10 variables are statistically significant.
My question is, what... |
A multinomial distribution can be given as
$ M(m_1,\dots,m_K|N,P) = {N \choose m_1\dots m_K}\prod_k p_k^{m_k} $
The expected value is $Np_k$.
How can I prove it?
|
To support an education project around neglected infectious diseases in Sub-Saharan Africa, I aim to estimate and report some very basic epidemiological models in R to build intuition and understanding with the students.
I have been searching for a little bit (to no avail) - does anyone know of basic R-based modules / ... |
I've found two definitions in the literature for the autocorrelation time of a weakly stationary time series:
$$
\tau_a = 1+2\sum_{k=1}^\infty \rho_k \quad \text{versus} \quad \tau_b = 1+2\sum_{k=1}^\infty \left|\rho_k\right|
$$
where $\rho_k = \frac{\text{Cov}[X_t,X_{t+h}]}{\text{Var}[X_t]}$ is the autocorrelation at ... |
I'm interested in identifying events (patterns) that occur before an event of interest.
For example, a customer calls in to complain or a customer checks their balance online then the customer closes the account (event of interest). Data is in a form of a sequence of events with a time stamp.
I would like to know wha... |
I am trying to interpret data from previous research and I don't understand what the individual statistics (F, p, and np2--partial eta squared) are telling me about the data, or how they relate to each other to convey information about the data. For example, here are some of the information from Spruyt et al., 2009:
T... |
I have 10 different species with presence/absences data, as well as 6 different covariates relating to the design of marinas, including 3 continuous (lengths of walls, pontoons and groynes) and 3 factor variables (distance from freshwater, type of entrance and marina location). I have made binomial GLMs to assess which... |
One often hears to say "more than 70% variability is explained by ..." What exactly is meant by this? Th proportion of the sum of squares (SSE), or mean sum of squares (MSE)? For example in the following anova table:
Df Sum Sq Mean Sq F value Pr(>F)
as.factor(site) ... |
I want to run a random effect quantile regression with repeated subjects. The subjects bid on two different steaks and I have demographics as explanatory variables. Can this be done in SAS?
|
I have data that I'm trying to classify into two different groups using Fisher linear discriminant analysis. This gives me a vector of weights $\vec w$, used in the equation $\vec w\cdot \vec x$ to give a value that's compared to a threshold in the classification stage.
What I'd like to know is, what kind of informatio... |
I'm helping a colleague with a repeated-measures analysis in which each subject's fixed effect changes over the course of data collection. He's measuring a continuous, positive response variable (Response) in agricultural plots (ID) (which themselves are grouped within Blocks) as a function of Crop type. The response... |
I have a question regarding LDA (Latent Dirichlet Analysis) - what is the correct formulation of the posterior? In http://www.cs.princeton.edu/~blei/papers/Blei2011.pdf it is $p(\beta_{1:K}, \theta_{1:D}, z_{1:D} | w_{1:D}) = \frac{p(\beta_{1:K}, \theta_{1:D}, z_{1:D}, w_{1:D})}{p(w_{1:D})}$, but in http://www.cs.prin... |
I am trying to fit a spherical variogram to some synthetic data using the code available at http://www.mathworks.com/matlabcentral/fileexchange/25948-variogramfit. However, I have some doubts. I simulated some synthetic data using GMRF with the defined graph structure. I mean, I generated some samples where each sample... |
I would like to create a chart like the one on the left here in order to visualize maximum probabilities:
Is there a name for this type of chart, and is there a tool to create a similar one with my own data?
|
I have two groups A and B, each of which consists of 5 samples. Each sample is described in a vector of length (>1000) of continuous numeric values (characteristics). I want to test if the sample in the first group varies between each other more than the sample in the second group.
I tried one-way ANOVA for each group... |
Asking a question essentially for a colleague, since it's far enough afield of what I do that I want to make sure I don't lead her astray:
Assume a study with 5 factors and 3 dependent variables - we'd like to test the effect of interaction between any two factors on a given dependent variable (for Factor A at some lev... |
I am encountering a difficulty with the following task. Have I made a mistake, or is this an inherent flaw in the notion of confidence intervals? (Other such flaws exist.)
Consider a random sample $X_1,\ldots , X_n$ from a Uniform($\theta$, $\theta + a$) distribution, where $\theta$ is unknown and $a$ is known. We w... |
Given two independent MBA models 1 and 2 (each model is a set of rules with calcualted support, confidence and lift metrics) that were generated on subsets of large population of transactions, how to effectively compare rules between models? In particular, how to detect the biggest movers (up and down) from one model t... |
I have run negative binomial and quasi-Poisson models based on an hypothesis testing approach. My final models using both methods have different covariates and interactions. It seems that there are no patterns when I plot my residuals in both cases. Thus, I was wondering which test I could use to see which model fits m... |
I refer to the Simes (1986) paper found here. In this setting, $P_{(1)}$ through $P_{(n)}$ are the order statistics of $n$ independent Uniform$[0,1]$ random variables and, for $0\le \alpha \le n$,
$$A_n(\alpha) = \Pr\{P_{(j)}\gt j\alpha/n; j = 1, 2, \ldots, n\}.$$
On page 2, I'm unsure of how the integral in the proof... |
This is a question to reflect some very basic understanding of the logic of the chi-square for a planned introductory essay.
[update] I've tried to improve the question with clearer examples and better focusing of the problems upon which I stumbled. It might still be a bit weak but I can't do better at the momen... |
Hotelling's $T^2$ distribution arises in testing differences between means of different populations. But is it often used? Can it be implemented in a modeling procedure, let's say, logistic regression?
|
Is it a good or a bad practice to use R packages from CRAN for research? I'm talking about the common packages like: simple models for regression, estimation, econometrics.
Most of them use function that can be written easily on your own.
My yes arguments:
Time to focus on the main part of the research
The community i... |
There are several threads on R-sig-ME about obtaining confidence intervals for predictions using lme4 and nlme in R. For example here and here in 2010, including some commentary by Dougals Bates, one of the authors of both packages. I hesitate to quote him verbatim, for fear of them being taken out of context, but anyw... |
I want to generate some spatial data where the points/location in the space form a multivariate gaussian distribution. I want these points to have certain autocorrelation given by the variogram model like spherical with spill 0.025 and range 15. I then want to generate some sample for this
How can I do it?
I then want... |
This question is somewhat of a continuation from an earlier posting:
Using EM algorithm for record linking
I have two data sets of individual some of whom are in both but a prior it is not know which are and there are no identification id's that are common to both. What we know are the individual's first name, last na... |
I'm want to show that a customer who buys paper books is more likely to buy an e-reader than a customer who does not buy paper books. Note that the number of e-readers purchased in the past is small (1,000) compared to the total set of events (1,000,000).
Here's the historical data that I have:
Customer Name
... |
Correlation and linear regression are sometimes distinguished in statistics books by saying that the former is symmetric and the latter is asymmetric in the following sense: in the case of correlation, no distinction is made between dependent and independent variables, whereas it makes a difference which variables are ... |
I have 3 complete years + 4 weeks of weekly time series data. One of the years is a leap year. Should I calculate its frequency by $(365\times 2+366)/(3\times 7)$?
|
What is validity of an inference procedure? The inference procedure can be point estimator, confidence interval, or a testing rule. I saw "validity" in Diggle et al's Longitudinal Data Analysis:
Thanks!
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.