instruction stringlengths 9 38.7k |
|---|
I am exploring the psychometric properties of a 10-item self-report measure. I have about 400 cases in two independent samples. The items are completed on 4-point Likert scales. An EFA clearly supports a one-factor solution (e.g., first eigenvalue over 6, all others under 1) and Cronbach's alpha is good (e.g., .90). No... |
I am working with this optdigits data set from UCI machine learning repository and want to create a new training dataset with noise. How to randomly add noise to a vector in R? say corrupt 10% of the values of the vector.
|
Assume we have 10 different jigsaw puzzles. Each puzzle has a different number of pieces, e.g.,
1st puzzle = 100 pieces
2nd puzzle = 120 pieces
3rd puzzle = 240 pieces
.
.
.
Further, assume we take all the pieces from all the different puzzles and put them together in one pile (n = 100 + 120 + 240 + ...). Now, assumin... |
Since new to association rules need help for identifying the most frequent
extra service ordered together with the products. And to derive the
association rules, I have used arules R package on past data.
I have collected and shaped the dataset as like
you can download sample dataset from link (https://www.dropbox.co... |
I am clustering data using k-medoid. I used Davies–Bouldin index for $2$ to $n-1$ clusters. Here $n = 100$ (using smaller test case). I find minimal value of the index for 98 clusters. But the overall accuracy rate for 98 cluster is very small (smaller than 1). Here accuracy rate is how accurately test data is matched ... |
I have a random variable X of which I sample N values [$x_{1}$...$x_{N}$]. From these values I calculate the estimate P of function H(x) using Importance Sampling, i.e. $P = \sum_{i=1}^{N} w_{i}H(x_{i})$
( $H(x_{i})$ gives as output either 0 or 1) .
This is done for T trials and for each trial ' $t$ ', I have two outp... |
I have to find pdf of $Y = \cos(X)$ where $X$ is a random variable distributed uniformly in $[-\pi,\pi]$. I solved this using distribution function method, and the result was:
$f_{Y}(y) = \dfrac{1}{\pi \sin(\cos^{-1}y)}, y \in\ [-1,1]$
I am not able to understand this result intuitively. At first thought, it occurred t... |
What's the distribution of $\bar{X}^{-1}$ with X being a continuous iid random variable that is uniformly distributed? Can I use the CLT here?
|
Say I'm able to sample an RV $X$ from a PDF $f(x)$, can I exploit this to efficiently sample another RV $Y \sim k \cdot f(g(y))$ (where $k$ is a normalizing constant)?
I'm interested in something for a Gibbs sampler that would be better than using Metropolis, slice, inverse transform sampling, etc.
|
I was reading this paper related to Bayesian spatial scan statistics where I came across the Kulldorff's scan statistics.
I have attached the screenshot of the paper. My objective is to find a location of potential disease outbreak.
I have a little doubt with the formula given in the paper. In the paper it is mentione... |
I've conducted a psychological experiment on the same subject, under two different condition. For each condition I've collected the number of correct and wrong answer for each stimulus (number of trials per stimulus = 10; number of stimulus = 15).
From the data collected I fitted a psychometric curve (probit or logit c... |
I'm trying to do dimensionality reduction using matlab princomp, but i'm not sure i'm do it right.
here is the my code just for test, but I'm not sure that I'm doing projection right:
A= rand(4,3)
AMean = mean(A)
[n m] = size(A)
Ac= (A - repmat(AMean,[n 1]))
pc= princomp(A)
k=2; %number of first principal components
A_... |
I have data from a randomized survey experiment in which each respondent was assigned to one of 4 groups, one of which can be considered a "control" or "no treatment" group. The key question asked in the survey was a binary one: i.e. each respondent was faced with a choice between two products given some stimulus based... |
I have stochastic simulations that depend on a parameter $k$. As I vary $k$ the quantities I track vary gradually and then suddenly transition to very different values and continue to vary gradually again; it seems that my system undergoes a phase transition. I want to estimate the parameter value at which the transiti... |
Is it possible to train a neural network N times, using backpropogation and then average the weights learned to produce a more accurate classifier?
My tests are indicating no, but I'm unsure if it is an implementation error?
Thank you
|
Does anyone know of a function or R package that can help me turn z scores into percentile scores?
The final goal is to classify or rank a group of respondents into four categories based on the heights of their z scores (20% lowest scores, 30%, 30%, 20% highest scores).
Any ideas? Many thanks in advance!
|
I understand that the Wald test for regression coefficients is based on the following property that holds asymptotically (e.g. Wasserman (2006): All of Statistics, pages 153, 214-215):
$$
\frac{(\hat{\beta}-\beta_{0})}{\widehat{\operatorname{se}}(\hat{\beta})}\sim \mathcal{N}(0,1)
$$
Where $\hat{\beta}$ denotes the es... |
(1) When doing PCA, do you assume the variables to be bell-shaped? Say if I have a bunch of variables, some are bell-shaped but some have characteristic long (right) tails (highly skewed and asymmetric with the median close to the minimum and and a few extremely large values). Should I do log transformation on those lo... |
I am puzzled as to what specification I should include in my unit root tests of the following data: .
I will use ADF, KPSS and ZA tests. I can see there is a break in trend at observation 9. However, for the former two tests, especially for ADF, I do not know what to choose as a final specification.
|
There are $10$ empty boxes numbered $1, 2, \dots , 10$ placed sequentially on the circumference of a circle.We perform $100$ independent trials. At each trial, one box is selected with probability $\dfrac{1}{10}$ and one ball is placed in each of the two neighbouring boxes of the selected one.
Define $X_k$ to be the n... |
Let's say I know the relation between x and y is linear yet noisy. Given a noisy (x,y) dataset is there a way to deduce if it was most likely generated out of an underlying function
(a) $y = a + b \times x + noise$
or via
(b) $x=c + d \times y + noise$
I'm not sure if I know the nature of the noise but let's assume ... |
Markov chain Monte Carlo (MCMC) is a class of algorithms for sampling from probability distributions. In the end, given a parametric model explaining the data, MCMC could also be used for parameter estimation, in which case I wonder what the different options for processing MCMC samples are. For monomodal distributions... |
I am working on text classification using TF/IDF and cosine similarity metrics. In computing the similarity between two records (objects) in a database, TF/IDF assigns weight vector for each record by assigning weight score to each attributes (strings) in a record. Cosine similarity is then used to measure the similari... |
Is there an efficient approach tailored to sampling from a PDF $k \cdot f(x) \cdot g(x)$ (where $k$ is a normalizing constant) that would perform better than naive Metropolis, slice sampling, etc.? Can we exploit the fact that both $f(x)$ and $g(x)$ can already easily be sampled from?
An example of this might be sampli... |
After doing PCA, the first component describes the largest part of variability. This is important e.g. in study of body measurements where it is commonly known (Jolliffe, 2002) that PC1 axis captures size variation. My question is whether PCA scores after varimax rotation retain the same properties or are they differen... |
I have a single variable that represents my population values (sample of data):
[1] 94.51 59.81 63.84 94.51 94.51 94.51 94.51 94.51 94.51 94.51
[11] 59.81 94.51 94.51 94.51 47.90 29.16 50.36 23.51 44.41 33.14
[21] 47.90 29.16 47.90 29.16 47.90 29.16 47.90 29.16 47.90 29.16
...
[331] 23.44... |
I am very new to R. I am learning machine learning right now.
Very sorry, if this question appears to be very basic.
I am trying to find a good feature selection package in R.
I went through Boruta package. It is a good package but I read that it is only useful for classification.
I want to do implement feature selec... |
Imagine that we have mixture of two normal distributions with mixture parameter $\theta$:
$$p(y_i|\theta) = \theta\phi(y_i;\mu_1, \sigma_1^2) + (1 - \theta)\phi(y_i; \mu_2, \sigma_2^2)$$
Assume that the ONLY unknown parameter is $\theta$. I want to get the MLE estimate of $\theta$. Here is what I do:
$$L(\theta | data,... |
I have a set of models that are the result of a multiple linear regression. I would like to calculate the power for each of these models. I found this tutorial on calculating the power using G*Power. Since the data has already been collected, I am using the Post Hoc type of Power Analysis, and I was hoping to use the "... |
I am doing a work to school in which I have to analyze effect of expenditure for research and development on Gini index. I have Panel data and when I do Fixed effect model, I have problem with interpreting them. If anybody can help, I am looking for some place where I can find what each of the results I get means becau... |
Just a quick introduction, I'm rubbish at stats.
I asked a question before which was very well answered but I have since modified the experiment in a way that confuses me as to which test I should use.
So in the previous question we finished concluding that an independent t-test would be suffice as I am comparing the e... |
I need to test my data to see if it follows a normal distribution with specific mean and std like N~(mu, std) I know that this can be done by Kolmogorov-Smirnov test which has a function in both MATLAB and R but the default for these function is standard normal and I do not know how should I specify my mu and std in t... |
I was hoping somebody could help with determining the correct statistical test to use.
Basically a teaching session was done which assessed confidence and perceptions of handling a situation using 3 questions. Each question had a Likert Scale (1-5). The same 3 questions on the pre and post questionnaire.
The problem ... |
Consider the following ridiculous example. There is a real, non-ridiculous research question here, I promise -- I'm just a little bit uncomfortable posting what I'm working on on the internet in great detail. (And the below is hopefully a bit more entertaining):
A race of intelligent space monkeys has come to earth... |
I know that if two events are mutually exclusive it means that at most one is true.
However, what does this mean in terms of probability theory? Is it that for a set of mutually exclusive possibilities, their corresponding probabilities always sum to 1? Or does only one event have probability of 1?
I am studying mutua... |
Assume that we have a $n$-dimensional vector that shows the position of a point and two multivariate normal distributions with means $\mu_1$ and $\mu_2$, and covariances $cov_1$ and $cov_2$.
I’m trying to find a formula to calculate the subtraction of the distance between that point and each of those multivariate norma... |
I'm conducting research on eyewitness identification. More specifically, testing whether there's a difference between simultaneous line-up method (6 suspect photos viewed at the same time), and sequential line-up method (1 suspect photo viewed at a time), and whether angry compared to neutral suspect facial expression ... |
Can anyone please tell me what kind of model is being run with the following R call:
glm.fit(covar,pred,family = binomial())
I know what glm.fit does, but what is the specific name of the model when someone supplies binomial() as the family parameter and can you give me some references to it?
|
Lets say I'm doing 10,000 flips of a coin. I would like to know the probability of how many flips it takes to get 4 or more consecutive heads in a row.
The count would work as the following, you would count one successive round of flips being only heads (4 heads or more). When a tails hits and breaks the streak of hea... |
I would like to construct CIs for $\beta$ in the linear model
$Y = X\beta + \epsilon$
I observe $\{X', Y'\}$ which is $\{X,Y\}$ contaminated with values missing at random. $\epsilon$ is not Gaussian and not homoscedastic.
I propose to construct CIs for $\beta$ by:
Generating several imputed data sets $\{X^i, Y^i\}_{i ... |
My datasets have two classes A and B. The classes should be treated equally (there is no "active/inactive"). The datasets are unbalanced, sometimes A is more frequent, sometimes B is more frequent. Which performance measure should I use?
Accuracy makes no sense on unbalanced datasets. If I get it right, F-measure and A... |
I feel like every question I've asked on CrossValidated has lead back to looking at the number of observations I have per variable. I understand that there are many rules of thumb out there depending on your field, your expected effect size, etc. These come back to recognizing that too few observations can lead to over... |
I am trying to understand when to use a random effect and when it is unnecessary. Ive been told a rule of thumb is if you have 4 or more groups/individuals which I do (15 individual moose). Some of those moose were experimented on 2 or 3 times for a total of 29 trials. I want to know if they behave differently when ... |
I'm a complete beginner when it comes to R and decision trees, but I was asked to take a look at this to see if this was a viable solution for my data. So please excuse me if I say completely wrong.
This kind of goes along with this previous question. From the answers of the previous linked question, Rob mentions that... |
I have an experiment where I expect a certain genomic location to influence gene expression levels of nearby genes. I have data for expression levels (Agilent 4x44 microarrays, Drosophila) in two groups - one where I expect expression to be affected and the other wild-type and I would like to run a test for overreprese... |
I need to validate a cox-regression model internally - i was thinking of either k-fold cross validation or bootstrapping methods. are either of these possible to do with a cox model? any idea how to perform these? an example of our stepwise regression is below:
sw, pr(0.05): stcox age3 apricat2 meldcat2 etiol5a sex if ... |
This machine learning contest in Kaggle has a benchmark solution that uses logistic regression: http://www.kaggle.com/c/predict-who-is-more-influential-in-a-social-network
The context provides data where two twitter users are compared based on the values of same features. So for each data row in the learning set we hav... |
Ok so i have been taught this formula regarding binomial probability
Repeat an even n times
x = # of successes
p = probability of successes
q = probability of failure
p(x = a) = nCa * p^a * q^(n-a)
Ok wow seems good. So i try to solve this question using this formula.
A pair of fair dice is rolled 10 times.... |
In library "lmtest" The jtest and coxtest functions are used to see if two non-nested models are equivalent.
According to the help function:
jtest performs the Davidson-MacKinnon J test for comparing non-nested models.
coxtest performs the Cox test for comparing two non-nested models.
Under what conditions should o... |
I have several variables that describe the quality of a trading relationship between a client and financial institutions (FIs) the client deals with. The variables are populated with observed data over a period of time. Lets call the variables A,B,C,D. The client is able to use this data to filter on FIs based on eith... |
This is a general question, has probably been asked before (I searched and did not see similar), may have a simple answer, may be ridiculous, and is just to satisfy my own curiosity.
Say we build a linear model (or any model for that matter) on our training data, and then generate predictions from our test data and fin... |
Suppose we have identified $20$ cases from a population of $1000$ people. $15$ of these cases are male. We want to use one-to-one matching to choose the control group. We would match on gender. So would we just randomly choose $15$ males from the population that are not cases and then arbitrarily match them to the $15$... |
I have a result from a study in a research paper which gives a mean/SD for 2 time points (pre & post treatment), and a p-value based on a paired-samples t-test. What I want to calculate is the SD of the change from pre to post. Is there any way I can back-calculate this using the p-value and mean/SD for each time poi... |
From What I understand about classification is that it is used to distinguish unlabeled data points in a collection. So if we have data which is labeled(age, height, weight,...) then we don't need classification, its used only in cases where data might be multidimensional but not classified, i.e without variables(age, ... |
I am working on an analysis using exploratory factor analysis (EFA) with the common factor model. This question concerns a methodological issue. Any insights from someone who knows about EFA would be appreciated.
We measured the wellbeing of people using a 15 question survey. The same questionnaire was given the same ... |
This is my first post. I have the following data set-up: I asked 331 subjects about whether or not they would take a drug to enhance the following four domains/abilities: Cognition, Mood, Sex, and Physical appearance. For each domain/ability, subjects had to choose one of three options: 'No', 'Maybe', or 'Yes'. My goal... |
I want to do statistical analysis to compare the results of the different specimen sizes (which I am comparing) with each other. Seeing as I have at least 12 specimens for each specimen size, I thought it was possible to use the data sets to compare the means and identify the differences between these values. I then th... |
I'm conducting a factor analysis on 40 interval-level variables, and have two immediate concerns:
The determinant is 6.608E-006, which is much lower than the cut-off of 0.00001. I went back and screened the correlation matrix to find significant, too-high correlations between variables; there's nothing even approachin... |
I wish to perform parallel analysis to determine how many factors I should extract from my maximum likelihood exploratory factor analysis. I have been referred to a program that calculates the eigenvalues for random data using Monte Carlo for principal component analysis. I am not doing principal component analysis, h... |
By redefining the energy function, $E(x)$, can any $p(x)$, be written as a boltzmann distribution, ie. $p(x) = \frac{e^{-E(x)}}{Z}$, where Z is the partition function?
|
I'm using TraMineR to determine a certain clustering based on Optimal Matching distances:
# Define a sequence object
sequences.seq <- seqdef(sequences, left="DEL", right="DEL", gaps="DEL", missing="")
# Compute OM costs
costs <- seqsubm(sequences.seq, method="TRATE")
# Create OM object
sequences.om <- seqdist(sequenc... |
Consider $U_i \sim^{iid} Bernoulli(\pi)$. Also consider:
$$Y_i | U_i = 0 \sim exp(1/\gamma) \text{ and } Y_i | U_i = 1 \sim exp(1/2\gamma) $$
What are the method of moment estimators of $\pi \text{ and} \text{ }\gamma$ ?
Here is my solution:
$E(U_i) = \pi \Rightarrow \hat{\pi_{MOM}} = \bar{U} = \sum U_i / n$
$E(Y_i) = ... |
I am desperately looking for some statistical help with my data because I myself cannot transfer the theoretical stuff I lately read on residuals, chi square distributions, squared z-values ecetera to my problem. Therefore I would really appreciate somebody to help me on that:
I compared 2 distributions with 4 categori... |
I have a large regression problem with a lot of cases, but relatively few independent variables. One of them is a categorical factor with thousands of levels. Robust regression runs forever. In some cases the large number of dummy variables becomes too sparse to calculate with even "normal" lm.
What would usually make... |
I try to understand and visualize myself covariance matrix. Supposing I have a matrix A = [ 2 3 4; 5 5 6 ], how do I calculate its covariance matrix, and what is its practical meaning? (All I was able to understand by now is that on the diagonal of the covariance matrix, variances for particular variables are placed, a... |
I have this daily time series of observed prices: $P_1,P_2,..., P_n$.
I want to works with returns: $ 0 , P_2-P_1,..., P_n - P_{n-1}$.
I have been told to "remove" the first term (P_1-P_0= P_1- ?) by setting it to 0. It appears that this 0 is very differents from others terms and not a good solution. (I even think it... |
I wish to simultaneously predict two correlated time series. Here is a plot of one time series against the other:
At the moment I have separate linear regressions for both of them which rely on some IVs and while performance is acceptable I'd like to find some way to take account of the relationship between them when ... |
Lets say there is a Markov chain whose transition matrix is defined as follows
$$
P = \left( \begin{array}{cccc}
0.5 & 0.5 & 0 & 0 \\
0 & 0.25 & 0 & 0.75 \\
0 & 1 & 0 & 0 \\
0 & 1 & 0 & 0
\end{array} \right)
$$
Now I've been told that communicating classes are those subsets of states commu... |
I am currently reading Math behind A/B testing written by Amazon and got stuck. At some point they say:
To determine the 95% confidence interval on each side of conversion
rate, we multiply the standard error with the 95th percentile (one
tailed) of a standard normal distribution (a constant value equal to
1.65)... |
I'm a beginner in R and Im wondering how to interprete my results.....
My question is about the results that I got after I did a regression on the Translog production function for panel data:
$ log(y)=log(A) + \alpha_{K} log(K) + \alpha_{L} log(L) + \beta_{KL} log(K)log(L) + \beta_{L^2} log^2(L) + \beta_{K^2} log^2(K)$... |
I'm reading a time series analysis book and the formula for sample autocovariance is defined in the book as:
$$\widehat{\gamma}(h) = n^{-1}\displaystyle\sum_{t=1}^{n-h}(x_{t+h}-\bar{x})(x_t-\bar{x})$$
with $\widehat{\gamma}(-h) = \widehat{\gamma}(h)\;$ for $\;h = 0,1, ..., n-1$. $\bar{x}$ is the mean.
Can someone expla... |
I have a question on testing mortality table.
Suppose I am given a simple mortality table:
age | prob of dying | prob of surviving
---------------------------------------
20 | 0.01 | 0.99
21 | 0.02 | 0.98
22 | 0.03 | 0.97
23 | 0.04 | 0.96
...
I want to test wh... |
I understand that Anova is preferred over multiple t-tests, but what exact is multiple t-tests?
Examples involving taking groups from the population (with the same population mean):
We have groups taken from a population, then tested with different treatment per group, then comparing the effect of the treatment betwee... |
I'm trying to estimate the curvature/structural complexity of datasets, or the amount by which it is non-linear. The datasets are mostly very linear but with instances of very arbitrarily structured data (curves, v shapes, x shapes, hooks, etc.) which I would like to detect.
I can think of hacky approaches such as comp... |
In an effort to understand machine learning, at least to some degree, I've been implementing the various algorithms to solve the three problems in a Hidden Markov Model. I've been using Rabiner's tutorial paper as a guide.
I have had some trouble making the Baum-Welch algorithm work - namely, the probability after re-e... |
I commonly calculate the precision and recall for information pulled from text but I'm not sure how to calculate the margin of error for those precision and recall values.
So for example, if I have a sample 1,000 given names out of an unknown amount of data. My goal is to indentify the gender of of each name. My system... |
Consider the model below:
In many research papers, significance of statistical results are indicated by *, **, and *** as a significant value at respectively the 1%, 5%, or 10% level.
Does a Sig. value of .047 (forninstance, LAW_LE) mean a significane at the 4,7% level? (So that I may report LAW_LE 0.313**)?
Second, I... |
I have a 2X2 factorial experiment where I am interested in seeing the effect of two different nutrient solutions (N and W) on the appearance of root tips of two different plant species (A and B). I used 3 plants per species X treatment combination. I took daily counts of the number of root tips of each plant over the ... |
I am modelling the impacts on students' achievemens using HLM (2 levels only), with the lme4 package in R. I would like now to estimate the Empirical Bayes Estimates and the Empirical Bayes Grand Means for each group of the 2nd level, using R.
Please, would you be able to point me to any source or give me any tips on t... |
Suppose I have some sample $X$ drawn from some unknown multivariate distribution $F(A,B)$, and I want to test the null hypothesis that a particular point $x$ was drawn from $F$.
Would it be legitimate to fit the PDF for $F$ using kernel density estimation, then evaluate it at $x$ and take this as my p-value?
Likewise, ... |
In the gls fit shown below, the estimates of the standard deviation for each level of X are apparently given by the product of (1.000000, 3.913972, 10.684698, 11.350910, 26.476561, 27.255072) times the residual standard error of 0.04896334. How does one estimate the standard error of these estimated standard deviation... |
I have a two data set one with $n=15$ another with $n=25$. Each set of data has around 90 variables. The data collected was experimental so when I try to combine my two datasets I see clear differences in some variables due to this batch effect. I see these variables in a scatterplot matrix and some of them do not show... |
I'm looking for an intuitive answer why a GLM LASSO model selects a specific predictor out of a group of highly correlated ones, and why it does so differently then the best subset feature selection.
From the geometry of the LASSO shown in Fig 2 in Tibshirani 1996 I'm led to believe that LASSO selects the predictor wi... |
I am looking for a smooth probability density function with finite moments and closed form quantile function. As one knows, an example of smooth probability density function with finite moments is the Gaussian density funciton, but it does not have closed form quantile function. And an example of smooth probability den... |
I am somewhat new to R and am currently stuck with the following problem:
I have two variables, $X$ and $Y$.
In the first step I do a GARCH(1,1) fit on $Y$. In the second step I would like to input $X$ as an exogenous variable into the model. Afterwards it would be useful if I could compare both models (the goodness o... |
I have written:
A predetermined level of significance ($\alpha$ – level) was set to assess the null hypothesis based on a probability value ($p$ value). If the $p$-value is greater than the $\alpha$-level, then the null hypothesis can be accepted. If the $p$-value is less than or equal to the $\alpha$-level then the n... |
I have a data sets like this:
structure(list(Month = structure(c(14975, 15006, 15034, 15065,
15095, 15126, 15156, 15187, 15218, 15248, 15279, 15309, 15340,
15371, 15400, 15431, 15461, 15492, 15522, 15553, 15584, 15614,
15645, 15675, 15706, 15737, 15765), class = "Date"), TotalLogins = c(284697404L,
268944957L, 2978... |
$\newcommand{\nd}{\frac{n}{2}}$For an $n$-sample following a Normal$(\mu=\theta,\sigma^2=\theta)$, how do we find the mle?
I can find the root of the score function
$$
\theta=\frac{1\pm\sqrt{1-4\frac{s}{n}}}{2},s=\sum x_i^2,
$$
but I don't see which one is the maximum.
I tried to substitute in the second derivative of ... |
We are testing an e-mailing marketing campaign. On our initial test, we sent out two different e-mail types and had a third control group that did not receive an e-mail. Now we are getting back "results" as proportion of users who returned to our app. Here are the results:
Group | received e-mail | returned | %-retur... |
Suppose I have some dataset. I perform some regression on it. I have a separate test dataset. I test the regression on this set. Find the RMSE on the test data. How should I conclude that my learning algorithm has done well, I mean what properties of the data I should look at to conclude that the RMSE I have got is goo... |
First time posting here, so thank you ahead of time for your help. I'd like to estimate the variances associated with two factors in a relatively simple, but unbalanced GLS model, and I am unsure how to extract that information (or how to manually calculate it). For the two factors I'm using, DS3 and DS4, DS3 has fou... |
I would like to report the power observed with my mixed model analysis (or repeated measures ANOVA). My experiment followed a completely within subject design with 2 independent factors (two levels & 5 levels, respectively). 12 participants were recruited to run the 10 combos (5x2) twice (repeated observations), yieldi... |
I want to include time spent doing something (weeks breastfeeding, for example) as an independent variable in a linear model. However, some observations do not engage in the behavior at all. Coding them as 0 isn't really right, because 0 is qualitatively different from any value >0 (i.e. women who don't breastfeed may ... |
was tasked with developing a regression model looking at student enrollment in different programs. This is a very nice, clean data set where the enrollment counts follow a Poisson distribution well. I fit a model in R (using both GLM and Zero Inflated Poisson.) The resulting residuals seemed reasonable.
However, I was ... |
Question
Suppose I observe a vector $\mathbf{x}=[X_1 \ldots X_n]$, where each $X_i=m_i+n_i$, with $n_i$ being an independent zero-mean Gaussian random variable with variance $\sigma^2$ (i.e. $n_i\sim\mathcal{N}(0,\sigma^2)$ i.i.d.) and $\mathbf{m}=[m_1 \ldots m_n]$ is an unknown vector with a known Euclidean length to ... |
In Poker, it is important to judge the likelihood of an opponents action, but for unknown opponents, we have few samples available. One method proposed in http://www.husng.com/content/interpreting-small-sample-sizes-bayesian-estimators was to use bayesian estimators, but the author used a simple heuristic for construct... |
What is an appropriate graph to illustrate the relationship between two ordinal variables?
A few options I can think of:
Scatter plot with added random jitter to stop points hiding each other. Apparently a standard graphic - Minitab calls this an "individual values plot". In my opinion it may be misleading as it visua... |
Suppose I have hierarchical data such as students clustered into classrooms. I want to use a two stage least squares regression with an instrument that affects students at the classroom level to test my hypothesis. What is the appropriate method to test if my instrument is weak? The Cragg-Donald F-statistic with Sto... |
A person is given 10 sample images (based on the same image) with corresponding techniques on how the image was achieved. I want to regress the matrix bitmap of the image of the 10 images on the image created by the person as a gross way of knowing which images the person copied from. I am assuming that if the person c... |
Forgive me for a potential dupe, as I don't know the correct terminology for searching for an existing question. Also please add tag "trends" or similar, as I don't have the reputation to create new tags.
I have market data like so:
X Y S
10 20 0
20 30 1
20 25 0
15 10 0
...
Where X and Y are certain variables used t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.