instruction stringlengths 9 38.7k |
|---|
I have data containing breathing rates per minute of whales before, during, and after a test. I am a beginner in biological statistics and I am looking for the best way to compare these breathing rates, preferably using SPSS.
|
I set up a model in keras (in python 2.7) to predict the next stock price in a particular sequence.
The model I used is shown below (edited to fit this page):
model = Sequential()
model.add(Dense(5, input_shape=(1, 1)))
model.add(LSTM(5, return_sequences=True))
model.add(Dense(1))
model.add(Activation("linear"))
model.... |
I am playing around with the mean expected lifetime formula using an exponential distribution. The following is the formula I derived:
$$\frac{{e^{\lambda t_a}}(1+λt_a)-{e^{\lambda t_b}}(1+λt_b))}{{\lambda e^{-\lambda t_a}}}$$
$t_a$ is the time up until a device has lived
$t_b$ is point up to which I want to determine ... |
The question is about the stability of cross-validation technique in classification:
Assuming $K$-fold cross-validation ($K=10$, most common value). When we call the partitioning function, the samples of the 10 folds are randomly chosen from the giving data set. After cross-validation, we will get some value of the per... |
The probability density function $f(x)$ of a Cauchy distributed random variable $x$ is given by:
$$f(x; x_0,\gamma) = { 1 \over \pi \gamma } \left[ { \gamma^2 \over (x - x_0)^2 + \gamma^2 } \right]$$
The mean and variance of $x$ are undefined however its median is defined as $x_0$. A half-Cauchy distributed random var... |
When fitting a GAM using, say mgcv in R, one must specify the distribution and link function. For example, the default is Gaussian and identity, respectively. Now, I understand the link function (e.g., g in the first equation here) as the model definition explicitly includes it. I can point to it and say, "That's the l... |
I'm totally confused about the concept of Probability Distribution Function for continuous sample space.I read that probability of an event in continuous space is zero and it seems logical since we have an infinite number of points also as quoted by Wikipedia the absolute likelihood of an event exactly occurring is zer... |
I want to calculate the log marginal likelihood for a Gaussian Process regression, for that and by GP definition I have the prior:
$$ p(\textbf{f} \mid X) = \mathcal{N}(\textbf{0} , K)$$
Where $ K $ is the covariance matrix given by the kernel.
And the likelihood is (a factorized gaussian):
$$ p(\textbf{y} \mid \textb... |
I have a target and observed list of names. Both are in the same order but there are some missing from each list. I am using an HMM to match the two lists and it works very well in most circumstances.
The problem is where the target list has extra names at the top. I can have as many rows as I like on the observed as n... |
I have 7 bins of binary data according to a variable x as follows:
x1: N=1000, success = 324, failure=676
x2: N=1000, success = 444, failure= 556 .... ....
x7: N=...., success = ..., failure = ...
I only have 7 x values (7 bins of data) and I want to fit a probability distribution to this data based on the fractions ... |
I need to make sure that my XML sitemap has less than $1\%$ rubbish (broken links).
The list of URL is in the hundred of thousands, and even if it could be feasible to test them all 1 by 1 I'd rather not, for many reasons:
1 - Saved bandwidth
2 - Faster traffic for real clients
3 - Less noise in visitor statistics (bec... |
I am performing a logistic regression (LR) model on a set of data on which an initial probability estimate for event occurrence, sai $\hat{p_i}^{base}$ has been provided. I have supplementary regressors and I want to update my model starting from the initial estimate. I was thinking to insert $logit\left(\hat{p_i}^{bas... |
A university has 807 faculty members. For each faculty member, the number of refereed publications was recorded. This number is not directly available on the database, so requires the investigator to examine each record separately. A frequency table number of refereed publication is given below for an SRS of 50 facult... |
Let (X,Y) be a random vector, we define the tail dependence coefficient between $X$ and $Y$ if it exists by
$$\lambda=\lim_{n\to\infty}P(X>u_n,Y>u_n)/P(X>u_n)$$
where $u_n$ is s.t $nP(X>u_n)\to\infty$.
It is known that
$\hat{\lambda}_n=\frac{1}{k}\sum_{j=1}^nI_{\{X_j>X_{(n-k)},Y_j>X_{(n-k)}\}}$ is an estimator of $\... |
I'd like to calculate Bayes Factor for two exponential datasets, testing $H_0: \lambda_1 = \lambda_2$ against $H_1: \lambda_1\not=\lambda_2$, and here comes the prior probability $\pi$ for all $\lambda$'s.
Question. How I choose a prior $\pi$ for $\lambda$'s if I want it to be non-informative?
My exponential data mode... |
I have many sets of univariate sample data as the following:
$$
X = \{x_i, i=1,2,...N\}
$$
and I'm using Parzen-window density estimation with Gaussian kernel.
$$
\frac{1}{N}\sum_i^N \frac{1}{\sqrt{2\pi h^2}}exp(-\frac{(x-x_i)^2}{2h^2})
$$
But I'm not sure how to choose the window size h.
In https://www.cs.utah.edu/... |
I'm using an MCMC Python package (emcee) to fit observed data to a 4-dimensional ($A, B, C, D$) model. After a run with 100 walkers and 5000 steps (1000 burn-in period) I get a result that looks like the image below.
The 2-parameters density maps look horrible and the (16th, 84th) percentiles (dashed blue lines) around... |
An ARMA with no roots in the unit circle has a unique stationary solution, and it is of the form $\sum_{j=-\infty}^{\infty} \psi_j Z_{t-j}$, where the $Z_i$'s are white noise, and where $\sum |\psi_j|<\infty$.
A stationary ARMA process with no roots in the unit circle is called causal if it can be further written as $\... |
In a simple linear regression model:
Would heteroskedastic residuals that show increasing variance of the residuals as X increases- cause the individual prediction intervals to be not wide enough at higher levels of X and too wide at lower levels of X?
|
The sum of squares decomposition produces this bit of algebra:
$$\sum (y_i - \bar{y})^2 = \sum(y_i - \hat{y}_i)^2 + \sum(\hat{y}_i - \bar{y})^2 + 2 \sum (y_i - \hat{y}_i)(\hat{y}_i - \bar{y}).$$
The "cross term" at the end is zero. I've seen mathematical proofs of this (see this question), but I have no intuition for t... |
Why does iid (independent and identically distributed) have same probability distribution. What does it implies.
|
I am a bit confused on the difference between the residual term and the error term and how you go about finding each of these.
Suppose we have $$\hat{y_i}=\hat{\beta_0}+\hat{\beta_1}x_1+\hat{\beta_2}x_2+\hat{\beta_3}x_3+\hat{\beta_4}x_4+\hat{u_i}$$
Would the residual $\hat{u_i}$ just be:
$$\hat{u_i}=\hat{y_i}-\hat{\bet... |
I am a statistics newbie who made the poor choice of having a statistician on my thesis committee. He expects me to run stats on a large dataset of traffic accidents and their associated features (time of day, road condition, speed limit, etc.) to determine which factors significantly contribute to crash occurrence. Ea... |
I have been using R's glmnet for training elastic net models for both regression and classification problems. In glmnet, you have to set the parameter family as family="binomial" for binary classification tasks and family="gaussian" for regression tasks. This is very much in line with the theory as the cost function fo... |
I ran a study with a single group of participants and with 12 variables. I conducted 2 planned regression analyses (i.e., I hypothesized a specific predictor for 2 DVs prior to running the experiment), but I first conducted exploratory correlations between the 12 variables to evaluate potential covariates. Do I need to... |
Let's say I have two variables x and y that are both correlated with an omitted variable. I also have an exogenous variable, z, that I can use to instrument for x.
However, for whatever reason I want to weight my two-staged least squares regression by weight w, which also is correlated with the omitted variable. Does t... |
If P(A) = 0.2, P(B) = 0.2, P(C) = 0.45, P(D) = 0.15
Then does this mean that A and D are mutually exclusive?
|
If you have a linear mixed model where
$$y_{n \times 1} = X_{n \times p} \beta_{p \times 1} + Z_{n \times k} \alpha_{k \times 1} + \epsilon_{n \times 1},$$
where $\alpha \sim N(0,\sigma^2I_k)$ and $\epsilon \sim N(0, \tau^2I_n)$, but $k >> n$ (and $p << n$), can you still fit the model in R using the lmer() function i... |
Besides LDA (Latent Dirichlet allocation), are there other ways or methods to detect a topic or category from a sentence?
For example, all the categories or tags from news websites can be used to train a classifier to predict the topic for a new sentence or article or a paragraph.
Are there any known public datasets w... |
I'm using Hamiltonian Monte Carlo (HMC) implementation in Edward, a probabilistic programming library built on top of TensorFlow. One of the hyper-parameters of HMC is the step size:
inference = ed.HMC({w: qw, b: qb}, data={X: X_train, y: y_train})
inference.initialize(step_size=0.5/float(N))
I know there's an adaptiv... |
I wish to plot ROC curves ("ROCR" R package) of cross-validation probability predictions to compare different models obtained with Adaboost boosted tree algorithms ("gbm" R package).
For instance, I wish to perform a 10 times 10-fold cross validation for a dataset with 1000 cases. For each time, each case will have it'... |
Please, anybody could explain the steps to compute the highest posterior density (HPD) interval, when the posterior distribution is known? For instance, when the posterior distribution is Beta distributed.
When the posteriori distribution is simulated, the Chen-Shao algorithm can be used to estimate the HPD interval.
|
I am computing the WAIC (widely applicable or Watanabe-Akaike information criterion) using the waic() function from the 'loo' package in R. When I do so, I see a warning message as follows:
Warning messages:
1: 118 (5.1%) p_waic estimates greater than 0.4.
We recommend trying loo() instead.
What should I do about this?... |
Suppose I have a categorical variable $Y$ that takes on three levels, $1,2,3$ and I am regressing it on $X$, which takes values in $\mathbb{R}$.
I understand that normally multinomial regression would handle this well. However, I am wondering just how bad it is to use linear regression in this case. It appears I am ab... |
I'm trying to calculate the probability that p (or more) columns, of an n x m matrix, each element of which can have q values, will be identical. The value of elements are assigned randomly, with equal probability.
So for instance, elements of the n x m (5 x 7) matrix below can have any of q (4) different values. p (2... |
I am using http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.GradientBoostingRegressor.html to fit a gradient boosting model (GBM) built on regression trees. I am using quantile loss with alpha=0.5, i.e. my loss function is mean absolute error (MAE). The optimal model with this loss function is the con... |
Suppose $x_1, x_2, ..., x_n$ are observed values of IID random variables $X_1, X2, ..., X_n$ from Poisson distribution, i.e., $P(x)=e^{-\lambda} \frac{\lambda^x}{x!}$.
The MLE for $\lambda$ is only defined (as the average of observed values) when there is at least one value of $x_i$ greater than zero; otherwise the log... |
I know that test MSE can't be. Thank you!
|
So, I have multiple lists of data of different sizes. I'm calculating the average of each list. So, I have the average of each list with the total number of elements in that list.
Now I need to calculate the average of all lists. Is there a correct way to do this? I know that adding up the averages and dividing on the ... |
I have a set up like this
continuous outcome ~ categorical predictor group variable + continuous predictor
The issue is that the continuous predictor is always an lower bound on the outcome so if the continuous predictor is -500 then the outcome can be between -500 and infinity. What is the best model for this type o... |
Please consider a dataset $n \times m$, composed exclusively of continuous values, and where $n \gg m$.
We wanted to use this dataset in a machine learning setting, as a training set.
To add instances to this dataset has an associated cost, hence, we are looking for the smallest possible set of instances.
I was wonder... |
The set-up of this question may come out a little confused. But that's because I'm just that -- confused! If you can resolve my confusion, then that would be a full and satisfying answer!
To be as precise as possible amidst my confusion, let's break my question down to parts:
What is the null hypothesis of the (non-au... |
I understand the reasoning behind splitting the data into a Test set and a Validation set. I also understand that the size of the split will depend on the situation but will generally vary from 50/50 to 90/10.
I built a RNN to correct spelling and start with a data set of ~5m sentences. I shave off 500k sentences and t... |
Is kernel density in kernel density estimation derived or defined? If defined, why is it defined this way, if derived, how to derive it? In particular, why $h^d$ and not $h$ in the multivariate case, where kernel density is defined as $$\frac{1}{nh^d}\sum_{i=1}^n K(\frac{x-x_i}{h})$$
|
I'm having trouble understanding example 6.2.5 of Casella and Berger:
Let $X_1,\ldots, X_n$ be iid from a pdf $f$, where we are unable to specify any more information about the pdf. It then follows that the sample density is given by
$$f(\mathbf{x}) = \prod_{i=1}^n f(x_i) = \prod_{i=1}^n f(x_{(i)}), $$
where $x_{(... |
Copula function works only with uniform margins. However, using maximum likelihood estimation method or any other method to estimate the copula parameters, we need to specify the margins of each variables. For example,
$C(u_1, u_2) = F(F_1(x_1), F_2(x_2))$
Then, the loglikelihood function would be like this:
$L(\thet... |
How does the parameter estimation/Training of logistic regression really work? I'll try to put what I've got so far.
The output is y the output of the logistic function in form of a probability depending on the value of x :
$$P(y=1|x)={1\over1+e^{-\omega^Tx}}\equiv\sigma(\omega^Tx)$$
$$P(y=0|x)=1-P(y=1|x)=1-{1\over1... |
I'm reading the the first chapter of Understanding machine learning from theory to algorithms and they said that:
Let $H_B$ be the set of "bad" hypotheses, that is
$H_B=\left\{h \in H:L_{(D,f)(h)}\gt e\right\}$ ($e$ is the accuracy parameter)
Let
$M=\left\{S|_x : \exists \ h \in H_B, L_s(h) =0 \right\}$
be t... |
I'm using Clayton copula model to generate bivariate observations. x= poisson and y=gamma with, of course, certain dependence among them.
I have generated observations (X,Y) ~ f(x,y) using copula package in r but now I need to generate observation Y|X=x ~ f(Y|X=x) ¿Is there any way/algorithm to generate samples from co... |
I want to solve OCC(one class classification) on images, the input would be an image, the output is if the image belong to the class, and I extract the image feature from a deep neural work, the feature is in a very high dimension, more than 25000, I find that the Nearest Neighborhoods would be less meaningful when the... |
As a hobby application, I want to estimate a Kaplan-Meier curve for "survival" of football referees, i.e., for how long they stick to this activity. I have data for when they started and, if applicable, when they quit, or alternatively, that they are still active.
Now, the problem is that digital records only started a... |
I am regularly use confidence intervals (CI) of the mean and more than comfortable with using them. However, in one particular analysis I am more interested in CI of the sum rather than the CI of the mean.
For example, let's say we have a dataset of elements between 1 and 9, where n=100. This gives a mean of 5.3 and a... |
I am working on transfer learning for a robotic application. Right now, we have want to train a deep learning model (convolution network) using our current dataset (source task), and then use the pre-trained model to bootstrap the learning of a new task - a target task -. The 2nd part I think everyone is familiar with ... |
I have the following problem:
Assume there are three time series $h(t)$, $g(t)$ and $f(t)$.
The hypothesis is that prior to $t_1$: $h(t)=a\cdot f(t-t_2)$
and after $t_1$: $h(t)=b \cdot g(t-t_3)$.
Now the question is are there statistical or mathematical tests that would allow me to determine $t_1$? And prove that the... |
I need to transform my data into a function shown below.
My data should fit in the range from 0 to 1. The inflection point should be on 0.5.
How I can do this mathematically?
Is there any similar function to model data like this?
|
I have read that the p-values of the variables resulting from a stepwise regression are smaller than it should be.
So, suppose there are two independent individuals trying to address some problem.
Individual 1: Have access to a large database. So decided to use a stepwise variable selection.
Individual 2: Have access ... |
The emission probabilities of a 2-state HMM model have overlapping Gaussian distributions with equal mean values. If the observed data sequence X is given, is it possible to infer the state sequence of the Markov process which generated the observed data?
|
From what I understand, type II and type III ANOVA should give the same result irrespective of the order of the factors in the formula because they calculate:
Type II:
SS(A | B) for factor A.
SS(B | A) for factor B.
SS(A:B|A,B) for the interaction.
Type III:
SS(A | B, A:B) for factor A.
SS(B | ... |
I'm trying to train a regression tree with some very large data I have: approx 3Tb.
I'm using scikit-learn and of course there is no way I can load that amount of data on memory.
Doing some online research I found that some scikit-learn algorithms have a partial_fit method which can be used for this purpose. Unfortuna... |
I would like to run the following experiment , test if there is a significant difference between 2 algorithm ,the KPI I would like to test the difference for is : revenue per single impression.
My problem that in both experiments (the test and the control) , only 1% of the impressions reports for revenue, so the resu... |
This is from the book Fundamentals of Probability with Stochastic Processes by Saeed Ghahramani, pages 249-250 which asserts, for any random variable $X$ that is non-negative, expectation of $X$ is
$$
E(X)= \int_{0}^{\infty} [1-F(t)]dt= \int_{0}^{\infty} P(X>t) dt
$$
Where $F(t)$ is a cumulative distribution function... |
It is straightforward to simulate GBM path from a set starting value, but what if I also want it to arrive at a certain value in the end? Any ideas on how to do it are highly appreciated.
|
Say that I begin with a time series $X_t$, and say that it satisfies two different ARMA equations:
$$\Phi_1(B)X_t=\Theta_1(B)Z_t$$
and also
$$\Phi_2(B)X_t=\Theta_2(B)Z_t.$$
Then must $\Phi_1=\Phi_2$? How about if we further require that the degree of $\Phi_1$ be the same as the degree of $\Phi_2$?
The reason that I am ... |
I have a random forest model that predicts a variable. This variable is not a categorical class but rather a number from 0 to 1. What is the best way to evaluate the accuracy of the generated models in this case?
Should I split the training and test parts and then simply calculate linear correlations between predicted ... |
Edit (thanks to Xi'an) :
My data consists of $n$ realization of a specific experiment with $t$ time points and $2$ types of data measured in each time point. I summarized this data by computing the mean of each data type in each time points. This $2t$ values will be my summary statistics.
I have a model with 4 paramete... |
I have two time-series variables x and y and am trying to assess whether x influences/has an inter-temporal effect on y. I was thinking that I should perhaps be using a distributed lag model as I want to be answering the question "does x predict y". As noted, I suspect that this could be occurring over many time lags a... |
How to build a regression model with a continuous response variable bounded from 0 to 1?
I think it is not logistic regression, where I am not predicting a binary response variable, Right?
Sorry for duplication if any, I tried to search but not find. (I feel this question must be asked many times.)
|
I'm fitting a linear regression model in R. Initially, I included only a dummy coded dichotomous variable as a predictor. Thus, the values of the predictor are X0 (set to 0) and X1 (set to 1). Thus, I know the regression coefficient indicates the expected mean difference between X0 and X1.
However, I then used the pre... |
I have calculated D-prime measurements for for a memory performance task. Subjects viewed images that were either old or new and had to indicate their response via a button press. Thus, their response was either correct or wrong. From the subjects responses, I calculated their Hit rates (correct/total old) and FA rates... |
Assume we have 3 random variables $X_1,X_2,X_3$, and we know the pairwise marginal distribution $P(X_1,X_2), P(X_2,X_3), P(X_3,X_1)$, but we don't know anything else (such as conditional independence). Can we get the joint distribution $P(X_1,X_2,X_3)$?
|
I have been asked to use the AIC to assess the relative fitness of various terrain wetness index (TWI) methods for predicting soil moisture in a specific study site.
The TWI is calculated from a single digital elevation model (DEM) by calculating the slope of terrain local to a pixel (by one of several methods), by ca... |
I have $N\times m$ data sets, with the same independent variables (time), i.e., $(t_i, y_{nmi})$. I want to interpolate (linear is fine, but understanding the generalizing for any set of basis functions would be awesome) them all onto a different grid (lets say $t'_i$). For speed/memory-efficiency I don't want to ite... |
I am trying to obtain the right hand side of equation 1.68 in Pattern Recognition and Machine Learning by Bishop.
I was treating the problem as having four random variables $x,t,D,w$ where $D=(X,T)$ then I only obtain this:
$$P(t,x,D)=\int P(t,x,D,w)dw$$
$$P(t|x,D)P(x,D)=\int P(t|x,D,w)P(x,D,w)dw$$
$$P(t|x,D)=\int P(t|... |
On the NIST page about McNemar's Test, the third listed assumption is that "The difference P(Xi = 0, Yi = 1) - P(Xi = 1, Yi = 0) is negative for all i or zero for all i or positive for all i."
Let's say I have a sample that is half Democrats and half Republicans and I'm going to present them a video discussing both sid... |
I was asked to "include estimates of effect size" for my analyses. I used a Gamma GLM with one or two categorical predictors. Is there anything similar to partial $\eta^2$ (in ANOVA) or $R^2$ (in linear regression) that can be used to calculate effect size in the case of Gamma GLM? Are there any references that I can c... |
I've been given a segmentation in which people are segmented into, say, 6 groups on the basis of some number of survey questions. The segmentation is based on a cluster analysis of some sort.
My task is to use a different, second set of information to see how well that can recover the assignment to segments. (This is ... |
Can i use difference in proportion test to compare two ratios i.e the average height of two groups a and b are 1.4m and 1.6 respectively. Assuming i have the sample sizes of these groups, can i use difference in proportions calculator (test) to evaluate whether there is a significant difference between the heights of t... |
I have a large population of patients and hospitalization (>1 million) information. I'm trying to look at the relationships between various predictors and hospital re-admissions within 30 days. The data is set up as 1 record per hospitalization with a flag (binary outcome) yes/no if there was a repeat hospitalization f... |
Take a weight-sharing convolutional neural net, like the following:
In the forward pass, $wa_1 = wa_2$ and $wb_1 = wb_2$. The same operation is performed on different parts of the data.
In backprop, I compute the gradient. If $R$ is the loss function, is the proper expression for the gradient:
$$
\frac{\partial R}{\... |
y = (-2,2,3,4) and x = (3,5,8,12). Lin. Model is y = -2.5 + 0.6x
Please explain how you got the answer. Thank you!
I am confused on whether I should be calculating based on the x or y values, or both?
|
I have a basket $X$ of items to choose from. Each $x_i$ is a normally distributed random variable $x_i \sim\mathcal{N}(\mu_i, \sigma_i^2)$. Each $x_i$ is independent and uncorrelated from every other in $X$.
I then create various combinations $Y$ of $X$, where $y_j = \sum_{s\in{S_j}} x_{s}$ . Since all $X$ are uncorrel... |
I am studying time series, and I am trying to understand why the CLT (central limit theorem) applies for independent observations, but not uncorrelated variables. What is the easiest way to understand that uncorrelated variables is too weak?
|
After adding several potential mediators to a regression model, I've found that the coefficient on my main explanatory variable has decreased by over 100% (and is no longer significant). How am I to interpret this finding?
The purpose of my analysis is to measure attenuation in coefficients as potential mediators are a... |
Assuming $$ X\sim N_2(\mu_1, \sigma_1)$$ and $$Y \sim N_2(\mu_2, \sigma_2) $$
Would the joint distribution of
\begin{bmatrix}
X -Y \\
X+Y
\end{bmatrix}
be 4 dimensional? It would be multivariate normal too because it is the joint of 2 Multivariate normal vectors, correct?
|
I'm having trouble with the Bayes formula when I have a conditional probability, as part of the result of the equation.
If this is the initial equation:
$$\text{Pr}(A|B)=\frac{\text{Pr}(B|A)\text{Pr}(A)}{\text{Pr}(B|A)\text{Pr}(A)+\text{Pr}(B|A^C)\text{Pr}(A^C)}$$
And the question I want to answer is:
$$\text{Pr}(X_2\ ... |
I am currently in a linear regression class, but I can't shake the feeling that what I am learning is no longer relevant in either modern statistics or machine learning. Why is so much time spent on doing inference on simple or multiple linear regression when so many interesting datasets these days frequently violate m... |
I've been going through CS231n material. I am confused with this matrix derivation.
Here in this image the derivation of df/dx is given. Its from lecture 4 slide 73.
I understand this way of solving the derivative. But when I try to solve it using the chain rule directly I get a different answer. Here is how I worked... |
So, I have this question:
And, what I have tried so far is I let $z_1 = \frac{X + Y}{2}$ and let $z_2 = \frac{X - Y}{2}$ to use change of variables for this question. However, when I work this out and plug it into my joint distribution of $X$ and $Y$ above, I end up with the $z_2$ disappearing and only having $z_1$ le... |
I have the following general question, which I am not asking for help with here, because it is too general. I give some specific examples so that my motivation for asking might make more sense.
To what extent is there a formal/mathematical analogy between Bayesian updating/inference and Markov chains?
I am uncerta... |
Can anyone explain why, for an independent two-sample t-test assuming unequal variances, R's t.test function uses the label "Welch Two Sample t-test," when it appears to use Satterthwaite's 1946 formula for the degrees of freedom (d.f.) calculation?
Specifically, I accessed the body of the t.test function via getAnywhe... |
I have a structural equation / latent variable model that I've fitted (with lavaan) to a particular dataset $D_1$. I also have a separate dataset $D_2$ in which only a subset of the indicator variables are observed.
Given the observed indicators for $D_2$, can I use the fitted lavaan model to estimate the values of th... |
Take this question with many grains of salt, because it's mostly a theoretical curiosity.
I've built a multinomial classifier using GLMnet. The problem is that some of of my input variables have an uneven distribution set values, and the dataset is quite small (around 210 observations). So when I'm building a sparse ma... |
Suppose I have random variables $X$ and $Y$, both are normally distributed. $X$ has mean $a_1$ and variance $b_1$, and $Y$ has mean $a_2$ and variance $b_2$. Is there a way to test whether $X-Y$ is significantly different from zero?
|
I came across an interview question:
There is a red train that is coming every 10 mins. There is a blue train coming every 15 mins. Both of them start from a random time so you don't have any schedule. If you arrive at the station at a random time and go on any train that comes the first, what is the expected waiting ... |
In asymptotic statistics, does the equation $(Op(h))^{-1} = Op(h^{-1})$ make any sense? As I understand, the big Op is for random variables bounded in probability, and by definition the inverse of big Op should not equal to the big Op of the inverse as the equation stated.
However, I've seen proofs in papers using i... |
I'm trying to learn about the geometric interpretation of NMF. I have found the paper by Slim Essid to be very useful. I would like to make a plot like the one in Figure 1 just for a k=2 Topics (i.e. the 2d case). What are the axes in Figure 1. Thanks for your help.
|
I have a dataset (50000x50) of prospective customer information and I am trying to understand what features are most predictive for determining whether a prospective customer will become a purchasing customer. The dataset includes rows for both prospective customers and actual customers, and includes a y variable colum... |
I have a random process that follows a normal distribution. It's parameters are mean = 35 units, std.dev. = 8 units. I've seen from the wiki entry for the normal distribution that there is a formula to calculate the entropy. So plugging in the figures as:-
$$
.5\log\left(2\pi e^1 8\cdot 8\right)
$$
I get a value of... |
I have some transactional data for users who have ordered food. However, I am not allowed to share this data but am allowed to augment or generate a synthetic sample and share it. I was thinking about using generative adversarial networks for this purpose.
Data might look like:
t_0 = ['burger', 'fries', 'coke']
t_1 =... |
Besides the fact that The covariance is constructed using kernels. I am not sure if I am as clear on how MVN is much different from GP.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.