instruction stringlengths 9 38.7k |
|---|
I would like to test for a correlation that is zero or negative using the following hypothesis test:
$H_0: p>0$ (Null hypothesis: the correlation is positive)
$H_A: p\le0$ (Alternative hypothesis: the correlation is zero or negative)
Since this is different from the usual correlation statistical hypothesis tests, $(H_0... |
I would like to find out if the sample mean $T^{-1}\sum\limits_{t=1}^T{y_t}$ of the simple random walk $y_t=y_{t-1}+u_t$ with $u_t \sim i.i.d$ $N(0,1)$ diverges or converges? I am looking for a straightforward technical proof.
Theoretically it should diverge as $T$ is less than the claimed rate of convergence $T^{3/2}$... |
I'm wondering whether there are any statistical properties that should differentiate count data and parametric data. In other words, is there an aspect of my data that I can analyze, or a test I can run, that will allow me to determine whether the data is parametric or nonparametric?
My specific research involves peer... |
I am trying to estimate a set of parameters using a genetic algorithm in R with the 'GA' package. So far I am doing something very simple (which works):
library(GA)
df <- data.frame(DM=c(1000,1500),
c1=c(50,75),
c2=c(90,105))
func <- function(x1, x2, theta) theta[1]*x1 + theta[2]*x2
fitnessL2... |
Please pardon my lack of terminology - not a stat person. Here's the background & 2 questions:
If I have a survey sample set of 100 (within a total population of >10 million), then I believe that would give me a 9.8 confidence interval at 95% confidence level. That I understand. However, what I don't understand is how... |
...and how might we do this? If possible, I am curious if outliers in the Rayleigh distributed data would also remain outliers in the new Gaussian distributed data. Thanks.
|
What is
conditional quantile of $Y(t)$ given $Y(t-1)$ where $Y(t)$ is a univariate time series
(they call it conditional value at risk in risk management).
Can anybody explain this?
Thanks
|
I frequently deal with datasets that rely on a binary classification based on a Pulse-Shape-Distribution (PSD) discrimination value. This is based on a 2d fit of the PSD value vs the amplitude of the data, a typical graph is show below
The fits you see are the means and +/- 1 sigma for the two bands, where the mean an... |
I have a model created from a prior dataset and I want to know if it can be used on my current dataset.
The original model gives the expected percentage of times an email is opened x hours after it is sent. I have data for another type of email showing how many emails were opened x hours after it was sent. What sho... |
Let $X \sim N(0,1)$ and $Y \sim N(0,1)$ be independent RVs and let $f$ be their density function. I'd like to compute the expectation of the density ratio
\begin{align}
\mathbb{E}\left[\frac{f(X)}{f(Y)}\right] & = \mathbb{E} \left[e^{\frac{-X^2}{2}} e^{\frac{Y^2}{2}}\right] \\
& = \mathbb{E} \left[e^{\frac{-X^2}{2}} \r... |
So let's say I have a bunch of $IID$ samples $(X_n,Y_n)_n$ from some unknown distribution $p(x,y)$, where $Y$ is the response variable and $X$ is the explanatory variable. And suppose I plotted these points and saw a pretty obvious positive linear relationship, (for instance maybe $X$ is amount of sunlight and $Y$ is ... |
I am looking for a measure of entropy over multiple random variables, each with values between 0 and 1.
Intuitively, it seems possible to talk about the expected value of information of several variables, which is entropy, but I am not sure how to go about.
I know that in the continuous case, for a single value, we sh... |
The question
I have a dataset which I think requires a multivariate multilevel analysis. I am unsure both of the appropriate model and of how to fit it with R. I have come up with a tentative model, but my understanding of the math is so superficial that I cannot tell whether my analysis is "right" or whether it includ... |
Let $X$ have a gamma distribution with $\alpha = 4$ and $\beta = \theta > 0$. Find the Fisher information $I(\theta)$. I have found the second derivative of the log of the likelihood function and then to find the information, I did:$E((-4/o^2)+(x/o^2))^2$. The answer is $\frac{4}{o^2}$ but I don't know how to get here.... |
In my textbook they have this inequality:
$$ \chi_{1-\frac{\alpha}{2}}^2 < \frac{(n-1)s^2}{\sigma^2} < \chi_{\frac{\alpha}{2}}^2$$
which later becomes this statement:
$$\frac{(n-1)s^2}{\chi_{\frac{\alpha}{2}}^2 } < \sigma^2 < \frac{ (n-1)s^2}{ \chi_{1-\frac{\alpha}{2}}^2}$$
Now I know the whole idea is to find the conf... |
There are 42 actors in our movie set. We have 2 rounds of random assignments to teams of 3. In each round, we will randomly divide the actors into 14 total groups of 3 persons each.
(A) Suppose that we have that A and B are teammates in Round 1. What's the probability that they are teammates again in Round 2?
(B) Wha... |
what does it mean for a variable to be statistically significant??
Could anyone give a complete answer to this question?
|
This is from a Bayesian problem I'm working on. I have worked out
\begin{align}
f(y_1,...,y_T|\varphi)=f(y_1|\varphi)f(y_2|y_1,\varphi)...f(y_T|y_1,y_2,...,y_{T-1},\varphi),
\end{align}
and all terms in the equation above are known.
Now let $X=(x_1,...,x_T)$ with $x_i=y_i$ if $y_i>0$ and $x_i=0$ if $y_i\le0$. How do I ... |
I'm trying to build a content-control (web filtering) application using machine learning (just for training purposes). For example define gaming sites. I'm somewhat familiar with machine learning algorithms, but I have almost no idea how to get features from HTML pages. Can anyone suggest any good material? Maybe some... |
I am given two Poisson distributions, $X_1$ and $X_2$ with parameters $\lambda_1=1$ and $\lambda_2=2$ respectively.
Also given that $Y = -3X_1$ + $2X_2$, how do I represent $Y$ as a compound Poisson distribution?
I know that I have to use the methods of convolution. However, I am entirely lost on this one.
|
I have a ratio of two random, (dependent or independent) normally distributed variables.
Knowing that the resulting Cauchy-distribution does not produce any moments. May I ask: Is there an approximation to a Cauchy distribution? Can I still get something out of my set of ratios?
|
I have a dataset I would like to analyze and plot
It consists of 100 binary variables (0/1) for about 2,000,000 observations
There is absolutely no quantitative variable, nor anything I could use as an explained variable for a regression analysis.
Actually, the dataset represents the patronage of 2 billion customers fo... |
I was ask to do a linear regression analyses of my variables. I have Reaction times. Can you recommend me a linear regression analysis (hierarchical?) and tell me whether I should transform my raw data into logarithms before that analysis?
My reaction times are in milliseconds.
|
This problem occurred to me a couple of days ago, in the context of a game with a leaderboard. I wondered, given only the leaderboard, could I estimate parameters for the distribution of scores?
Estimation of order statistics is a reasonably well understood problem, but as far as I can see all require knowledge of n... |
Consider the ARMA(1,1) process
\begin{align}
y_t=a_1y_{t-1}+b_1\epsilon_{t-1}+\epsilon_t,
\end{align}
and assume $\epsilon_t$~$N(\mu_t,\sigma_t)$. And $\mu_t$ and $\sigma_t$ are all known.
$f(y_t|y_{t-1})$ and $f(y_t>c|y_{t-1})$ are easy to calculate. For instance $f(y_t|y_{t-1})$ is the Normal density with mean $a_1y_... |
I have used Gamma distribution in my GLM with identity link. I want to do backward model selection with drop1 command in R as described in Zuur, 2009. But I get this warning message:
Error: no valid set of coefficients has been found:
please supply starting values
In addition: Warning message:
In log(... |
I have a posterior distribution over a set of parameters denoted by $\theta = \{w, \phi, \lambda\}$ and the posterior is the joint distribution given the observed data i.e. $P(\theta | D)$. Now, this posterior is a multivariate normal distribution (due to the approximate way it is estimated).
Now I want to find out the... |
I am reading the article of wikipedia about bayesian average. This seems very interesting about on developing rating systems, but I have a doubt. How to fix the weight C of the average?
|
I use the following code to train an SVM classifier:
clf = svm.SVC(kernel='linear')
clf.fit(train_mat, train_labels)
It fits the data and saves the info in the clf object.
Now I know how theoretically the w vector is constructed in the formula. It is a sum over all support vectors multiplied by their labels and the c... |
I would appreciate if someone could explain to me the benefit of using area under ROC for evaluating agreements between two raters.
Here is an example from two raters on, let's say, clinical time series visualizing the rhythmicity of heart beats. The raters rated the rhythmicity using a scale from 0 (normal) to extre... |
I am reading a paper by Tom Minka and trying to follow the steps to perform the updates for the Expectation Propagation algorithm. I am having trouble getting the initialisation of the posterior distribution going. So, the first step involves writing out your joint distribution as a product of factors. In my case, I ca... |
I have about 64000 music Charts ranked by their usage frequency.
I want to have a future two-day prediction frequency and eventually its rank for each music chart using its past 21 days usage frequencies but the frequencies are obviously correlated but because of scale, I dont want to use ARIMA related models. I am no... |
I will be teaching a short course on time-series econometrics to third-year undergraduates. It will be part theoretical, part applied (students using econometrics software). I am looking for great examples of data series which will fascinate (inspire?!) the students and engage them with time series econometrics.
Topic... |
So I'm looking to compare different combinations of features and classifiers. But I'm getting a lot of combinations that achieve 100% cross validation accuracy. I'm trying to figure out how I would compare the usefulness of each combination.
For example I can both train an SVM using Features 1, 10, 15 to get 100% accur... |
I am trying to analyze a quite large (~25,000 rows) dataset of cash flow forecasts. Receipts and expenses are aggregated, thus I may end up with the following data:
Forecast = 6.0e+04
Actual = -5.0e+04
But also with
Forecast = 1.0e+06
Actual = 1.5e+06
or
Forecast = 1.0
Actual = 2e+06
As you can see, the actual can dif... |
I got a paper rejected at a conference with the following comment:
The used method for the analysis is correct, but I find it strange that
the authors evaluate the results as a 4-condition experiment instead of
the 2x2 experiment they set up. This makes their analysis of the
interaction effect a bit clumsy... |
I want to integrate user input into clustering algorithm. So that users can control which docs should be in the same cluster. What are some ways to achieve this? Can metric learning do this?
|
A short entry on the NY Times website provides the Facts and Figures of pizza consumption in the United States. I have a casual interest in how statistics are used (or abused) to provide information to general audiences, and a couple questions have arisen based on the statistics presented:
If 1 out of 8 Americans wil... |
Given a function $f(\mu)$ (satisfying certain properties), it is possible to find a function $g(x)$ such that $f(\mu)=\int_{-\infty}^{\infty} g(x)\phi(x-\mu) dx $, where $\phi$ is the standard normal density. In fact, $g=\widehat{\widehat{f}/\widehat{\phi}}$, where hat denotes the Fourier transform (might be missing so... |
I'm relatively new to bayesian statistics and have been using JAGS recently to build hierarchical bayesian models on different datasets. While I'm very satisfied of the results (compared to standard glm models), I need to explain to non-statisticians what the difference with standard statistical models is. Especially, ... |
The stochastic difference equation is $$ {{y}_{t+1}}=\frac{1}{a}{{y}_{t}}-\frac{b}{a}{{x}_{t}}+{{\varsigma }_{t+1}} $$ where $ {a}>1; $ $ {{x}_{t}}=(1-\rho )\overline{x}+\rho {{x}_{t-1}}+{{\varepsilon }_{t}}, 0<\rho<1; $ $ {\varsigma }_{t+1} $ is a forecast error, that is, $ {{y}_{t+1}}={{E}_{t}}{{y}_{t+1}}+{{\vars... |
Im migrating from SAS to R with a few difficulties, not to mention some large gaps in statistical knowledge.
Im investigating the effect of ethnicity on blood pressure, in a longitudinal study. For all ethnic groups, it is evident that their blood pressure declines the first 3-4 years and then it increases steadily the... |
What i am trying to do is to take a machine learning algorithm that is already trained.Run the algorithm several times and collect the output.
Conduct a statistical analysis on the output and try to create an inference regarding the parameters of the algorithm
Is this possible ? Are there known statistical tests which... |
I have what seems to be a very basic confusion about cross-validation.
Let us say I am building a linear binary classifier, and I want to use cross-validation to estimate the classification accuracy. Imagine now that my sample size $N$ is small, but the number $k$ of features is large. Even when features and classes ar... |
I have a calculated daily survival probability, and associated SE. From this I can obtain the standard deviation. I have to report the cumulative survival over a specific period. So for example, for a 38 day period, where daily survival rate (DSR) = 0.97, and SD = 0.16, the probability of survival over the period is si... |
A friend is looking at how closely related genes cluster together on a section of DNA. In particular, he is looking at genes that code for mitochondrial phenotypes (what I will call "mitochondrial genes") vs ones that don't.
He has picked a distance, say D = 500,000 base pairs, and for each branch of each chromosome, c... |
I have a seemingly easy question which however is troubling me a bit.
I have couples of vectors made up of nominal attributes. They can be of different length and sometimes some of the attributes in one might not be included in the other. See a and b as two potential examples.
a
1 mathematician
2 ... |
I am interested in understanding the differences between Bayesian and Frequentist estimation in the context of hierarchical models.
Consider $n$ subjects, where for subject $i$ there are $k_i$ successes out of $m_i$ attempts, adequately modeled with a binomial distribution with parameter $\theta_i$. In a hierarchica... |
I've been attempting to forecast natural gas power demand and how it is affected by temperature and price. I'm not sure if I have done everything correctly (relatively new to R), but I do seem to get relevant data other than I can't seem to change my forecast period, nor am I sure this is an appropriate model for this ... |
I have two multivariate normal densities and I parameterise them by the precision matrix (i.e. the inverse covariance matrix). One of them has a sparse precision matrix and the other one has a simple precision matrix form with non-zero elements only along the diagonal matrix. So, we have as follows:
$$
A = N(\mu_1, \Si... |
I am trying to understand how to back-transform in R. Let's say I have X and Y values:
X<-c(1,2,3,4,5,6,7,8,9)
Y<-c(14,18,17,22,8,10,5,6,10)
Now let's say that I want to transform the Y to square-root (i.e. sqrt(Y)), and X to log and then run a simple linear regression model.
I understand with such a small sample set... |
I'm trying to implement a multi target tracking with Kalman filter. Each object has an instance of Kalman Filter. The true position of the objects $(x,Y)$ are the corrected state out of the KF after the prediction and correction steps. Till now everything is clear.
For associating observations to objects I'm using till... |
I recall reading that this is a no-no. Makes sense, b/c the pattern/relationship may dramatically change outside of the interval. My question is: Is there a rule for this convention? Interpolation vs. extrapolation?
Like if you have a correlation between auto price to auto mileage, and the range of miles is withi... |
Okay, first post on this Stack Exchange board, and I'm no mathematician so I kind of lack the proper jargon. But here goes.
I'm currently playing a game known as werewolves, which is based on the better-known mafia party game, on a forum. There's a number of players (11 in our case), among which a number of werewolves ... |
I learned in my linear models class that if two predictors are correlated and both are included in a model, one will be insignificant. For example, assume the size of a house and the number of bedrooms are correlated. When predicting the cost of a house using these two predictors, one of them can be dropped because the... |
I'm trying to calculate the log-likelihood for a generalized nonlinear least squares regression for the function $f(x)=\frac{\beta_1}{(1+\frac x\beta_2)^{\beta_3}}$ optimized by the gnls function in the R package nlme, using the variance covariance matrix generated by distances on a a phylogenetic tree assuming Brownia... |
I have a data set $\mathcal{S}$, which is univariate. I would like to discover the data points which can be thought of as outliers of $\mathcal{S}$. I use $\bar{\mathcal{S}}+2*\sigma(\mathcal{S})$ and $\bar{\mathcal{S}}-2*\sigma(\mathcal{S})$ to compute the upper and lower threshold in terms of 95% confidence interva... |
(A) In this book "Introduction to Neural Network using Matlab 6.0 - S. N. Sivanandam, S. N Deepa" http://books.google.ca/books?id=jJTN8RPgyXgC&printsec=frontcover#v=onepage&q=genetic&f=false, it is mentioned that Hebb is a supervised learning algorithm in Page21. Later, under Learning Techniques, Chapter 3, Section 3.3... |
I am using R for time-series analysis and predictions, the package 'forecast' to be more precise. I am in a dilemma. I have hourly data that needs a prediction and needs to be analysed. I am using the STLF function, since I set the frequency to 24 (because it's greater than 13). But, when I make the forecasts for the n... |
I have just started working with mixed models and the lme4 package and was after some advice interpreting some results. I have a data set looking at the change in nest height of birds (NAP) over time (Year). I have two random effects that are relevant to my data; the area where the birds nest (Area) and the identity of... |
I realize that one uses set.seed() in R for pseudo-random number generation. I also realize that using the same number, like set.seed(123) insures you can reproduce results.
But what I don't get is what do the values themselves mean. I am playing with several functions, and some use set.seed(1) or set.seed(300) or set... |
How can I describe the shape of the following distribution, which has two peaks? What are the important things in describing the distribution shape?
It is the output of the following R code:
plot(density(Boston$tax))
(The data set is the Boston data from the MASS package.)
I would also like to know what the rug (these... |
Let's say $X$ and $Y$ are continuous and discrete random variables, respectively, with $f(x)$ and $g(y)$ being a probability density for $X$ and probability mass for $Y$, respectively. Can I say that $Z=XY$ has density function equal to
$$\sum_{y} f(z/y)g(y)$$
and can I generalize this for all pairs of random variabl... |
The second peak of the density plot is large in this example. Why does the rug representation of the data--which seems to show few high values--not appear to match the much higher density estimated there?
How can one make rug plots less misleading?
Here's its R code:
plot(density(Boston$tax))
rug(Boston$tax, col=2, l... |
I have a data set where different measures are taken repeatedly (3) times for multiple samples, like so:
A B C
X ...
Y ...
So, for people X, Y, etc I have measures A, B, C and so on. Each of A, B, C are measured 3 times for each sample. That is, for each person, I have 3 measures of A (A1, A2, A3), 3 measures o... |
You have received a radioactive mass that is claimed to have a mean decay rate of at least 1 particle per second. If the mean decay rate is less than 1 per second, you may return the product for a refund. Let X be the number of decay events counted in 10 seconds.
Part a. If the mean decay rate is exactly 1 per second, ... |
Beer's law from chemistry says that the absorbance of a liquid $A$ is proportional to the concentration $C$, so:
$$A = kC$$
The standard thing to do then is to prepare a set of solutions with known concentrations, measure the absorbance to form a 'standard curve' (a calibration curve basically), and do a simple linear ... |
I understand from this question -
When is R squared negative?
that the R squared value of a linear regression model can be negative if the intercept is constrained. And this makes sense if you define R squared as -
$$R^2 = 1-\frac{SSE}{SST}$$
One says $SSE>SST$. But then,
$$SST = SSA + SSE $$
Total Sum of squares =... |
In searching for any info about marginal model and random-effects model, and how to choose between them, I have found some info but it was more-or-less mathematical abstract explanation (like for example here: https://stats.stackexchange.com/a/68753/38080). Somewhere I have found that there were observed substantial di... |
Andrew Gelman in one of his recent blog posts says:
I do not think counterfactuals or potential outcomes are necessary for Simpson’s paradox. I say this because one can set up Simpson’s
paradox with variables that cannot be manipulated, or for which
manipulations are not directly of interest.
Simpson’s paradox is... |
I am trying to create a linear regression model. I split my data into training and testing data, and built a model. The $R^2$ value on the training data is 0.840. Then I ran the model on the test data. When I calculate the $R^2$, I get 0.982:
y.predicted <- predict(lm1, newdata=test)
y.actual <- donation_test$yval
... |
We are monitoring Air Quality: essentially concentrations. We collect time series and we periodically calibrate analysers in order to control the process. Knowing the specifications or assessing it experimentally we have, for each analyser, some low threshold on the dynamic range (measurement extent) where data become ... |
I have a semi-small matrix of binary features of dimension 250k x 100. Each row is a user and the columns are binary "tags" of some user behavior e.g. "likes_cats".
user 1 2 3 4 5 ...
-------------------------
A 1 0 1 0 1
B 0 1 0 1 0
C 1 0 0 1 0
I would like to fit the use... |
My second attempt to explain the question.
Start with a vector of numbers V1 of length M. The elements of V1 form a Normal distribution. Take (any) N elements from this vector. Generate a replica of this subset with some random error. Call this V2. Add to V2 elements so it becomes of length M and so that all M elements... |
I work in a medical company and we often analyze the days patients stay in hospital longer than needed.
For example we have these data:
patient days in hospital days not necessary
1 20 2
2 5 0
3 13 ... |
Can someone tell me the name of the algorithm (or paper)
that sklearn.cluster.estimate_bandwidth implements and is used by the meanshift algorithm implemented in Scikit-Learn to automatically select its bandwidth parameter?
Thanks.
EDIT:
From the link to the code given by Franck, it seems that the bandwidth sigma is es... |
I have a 100 by 100 matrix. Each cell is either 0, 1, or missing (denoted NA). Rows denote 'users' and columns denote 'items'. My goal is to impute the missing values, and provide a confidence level for each imputed value.
To impute the missing values I have implemented a set of recommender systems including naive Baye... |
What are some typical approaches to handling incomplete data in the Kalman Filter? I'm talking about the situation where some elements of the observed vector $y_t$ are missing, distinct from the case where an entire observed vector $y_t$ is missed. Another way of thinking about this would be that the dimension $p$ of t... |
I use the following code
m <- svm(x_train, y_train)
current_class_prediction <- predict(m, x_cv)
but predict returns 999 predictions instead of 1000:
> length(current_class_prediction)
[1] 999
> dim(x_cv)
[1] 1000 70
What can explain this problem?
|
I need to express a univariate normal as a multivariate normal to make certain calculations possible (for example: being able to divide two Gaussian distributions). So, my univariate normal is defined over only one random variable ex: $G(x)$ and now I want to define it over $G(x_1, x_2.....x_n)$. However, even though i... |
I have a data-set with around 700 observations from 12 centres. Although the clustering effect as tested in a random intercept model didn't seem significant, it seems more appropriate to use a multilevel / GEE model. But it may not be easy to do so as I want to test for multiple potential mediators. (to be specific, th... |
I'm running a logistic regression with a small sample size: I corrected my data for outliers after checking the standard error (1.07) and the confidence intervall (0.51 - 11.55) for one of my variables. Those with a cook distance > 1 and DFBeta > 1 were excluded which resulted in an even higher standard error (2.15) an... |
I am a beginner who needs some help reading some results from linear regressions.
I am looking for factors that influence the location of civil conflict events. My dependent variable is the distance from the capital (km), a continuous variable.
I have 4 control variables which are all continuous too.
The variable (figh... |
I'm quite new on this with binomial data tests, but needed to do one and now I´m not sure how to interpret the outcome. The y-variable, the response variable, is binomial and the explanatory factors are continuous. This is what I got when summarizing the outcome:
glm(formula = leaves.presence ~ Area, family = binomial,... |
Suppose you want to compare survival of males and females within three groups. What is the difference between performing a log-rank test for each group (stratification) vs adjusting for it? Does the stratification allow for the survival curves in each group to differ?
|
I'm trying to test some data for the best distribution fit, and am looking to try the t-dist (all theoretically, no R computations)
I think the best way to do this is to assume the distribution is true, use MLE or MoM to estimate parameters and then conduct a goodness-of-fit test.
Firstly, is this an appropriate way to... |
I'm looking to join the field of statistics and more exactly to forecasting. I'm a software developer and I just started playing with R.
Can you recommend me some tutorials related to forecasting, but something which beginners can handle. It will be great also to read and try some forecasting related problems in which ... |
In case you suspect your time series has a linear trend, what is the best way to prove it? If you just regress it against time, you ignore the auto correlation of the time series so I assume that is a bit foolish.
We learned to do unit root tests, and in those test you remove the auto correlation by including lags of t... |
Can you nominate which are the steps which I need to follow in order to get a basic grasp into the field of forecasting? which are the "must to know things"?
|
For $Y \sim \mathcal{N}(\mu,\sigma^2)$,
$$X = \frac{\exp(Y)}{1+\exp(Y)},$$
so $X$ has a logit-normal distribution. Then
$$\mathbb{E}(X^2) = \int_{-\infty}^\infty \frac{\exp(2y)}{\left(1+\exp(y)\right)^2}\frac{1}{\sqrt{2\pi}\sigma}\exp{\left(-\frac{(y-\mu)^2}{2\sigma^2}\right)} dy $$
Can I express $ \mathbb{E}(X^2) $ as... |
Is it possible to use exploratory factor analysis to extract four factors, and then combine these four factors (i.e. the factor scores for each observation) into a composite scale?
|
What is the motivation for demeaning the data when doing PCA. I've been told to do it, but I've never heard a good and/or intuitive reason for it. Is this a case where doing it just makes the math easier, or is it more like: if you don't do it, you'll get the wrong answer.
This is something I've been wondering about fo... |
I need to compare means of two data sets that binary. For example:
a = [1,1,0,0,0,0,0,0,0,1]
b = [1,0,1,1,1,0,0,1,1,0]
All I need to know is whether the means are statistically significantly different between the two datasets, in other words the order in which 1 are arranged does not matter. And I do know that all val... |
Let $X$ and $Y$ be random variables with finite means $\mu_X$ and $\mu_Y,$ finite variances $\sigma_X^2$ and $\sigma_Y^2,$ and correlation $\rho.$ Let $A$ be the event that $X \leq \mu_X + k\sigma_X$ and $Y \leq \mu_Y + k\sigma_Y,$ where $k \gt 1.$ Using the one-sided univariate Chebyshev inequality, I can find this lo... |
I have a set of predictors that clearly suffer from some amount of multicollinearity, so I am using PCA to make the columns of X orthogonal. I am also using this as a way to regularize the subsequent regression by removing components that account for ~0% of the variance.
For example, if I run OLS regression on PCA-tra... |
Given a $p$-dimensional random variable $\xi \sim \mathcal{N}\left( 0, I_{p} \right)$ and a $p\times p$ dimensional diagonal matrix $\Lambda$ with diagonal entries $\lambda = \left( \lambda_{1},\cdots,\lambda_{p} \right)$.
Can anybody point me to a paper or help me with the proof that:
mean: $\mathbb{E} \left(\Lambda \... |
I have a somewhat of a repeated measure setup but wanted to check if repeated measure 1-way anova can be applied here (assuming underlying assumptions of normality, sphericity etc are met).
Situation: time series data of N subjects self-reporting a binary variable (yes/no), and also providing a continuous measure X wit... |
In a problem set I proved this "lemma," whose result is not intuitive to me. $Z$ is a standard normal distribution in a censored model.
Formally,
$Z^* \sim Norm(0, \sigma^2)$, and $Z = max(Z^*, c)$. Then,
\begin{align}
E[Z|Z>c]
&= \int_c^\infty z_i \phi({z_i})\mathrm{d}z_i \\
&= \frac{1}{\sqrt{2\pi}}\int_c^\infty z_i \... |
I have a dataset with 975 observations from 112 different categories. The timespan of this dataset is 18 years. However, the data is unevenly spaced and even acquired:
While some categories have only 1 observation for these 18 years, some others have 25, almost2 per year. This makes trying to set the periodicity of the... |
I'm running a binom.test on the data set UCBAdmissions (comes with R) and am stuck on an error message.
About the data:
> str(UCBAdmissions)
table [1:2, 1:2, 1:6] 512 313 89 19 353 207 17 8 120 205 ...
- attr(*, "dimnames")=List of 3
..$ Admit : chr [1:2] "Admitted" "Rejected"
..$ Gender: chr [1:2] "Male" "Female"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.