instruction stringlengths 9 38.7k |
|---|
The study I am reviewing reports mean height for 20 subjects as 1.70 metres with a standard deviation of 0.0. Does this mean all 20 are exactly 1.70 metres? Or is this a reporting error?
|
I'm trying to find the asymptotic covariance matrix $\Sigma$ for the MLE of a Markov Chain. Let $S$ be the states of the chain. If $\mathbf{y}$ is a path of the Markov Chain and $n_{ij}$ are the number of times observed moving from state $i$ to state $j$, I see that
(1) $p(\mathbf{y}|P,y_0)=\prod_{i\in S} \prod_{j\i... |
I've read in some posts that the absolute function is not differentiable. However, it is not differentiable only at 0. Can I not check the value at each training point to calculate the derivative. Only if the error happens to be 0 will it create a problem, in which case I could ignore the point. Simplex is the preferre... |
I had a previous poorly redacted four-options questionnaire where answers followed a narrowed distribution, which is not giving me enough information and did not matched to data I measured after.
After a redesign of the test, I passed the questionnaire to different samples, and repeated the experiment so I got a more u... |
I have a random forest music recommendation model that has users rate songs, then returns songs that have the highest probability of the user liking them. Afterwards, I want to give the user the option to improve the recommendations of the model by rating more songs. Should they be asked to rate the songs that the mode... |
It is known that for the normal distribution, the mean and the standard deviation are independent; it is also the case for samples as sample size tends to infinity.
However, for small samples, the sample mean and the sample standard deviation are not independent. Indeed, the sample mean is used to compute the sample st... |
I have a question similar to this one, which never received an answer.
Let's say I have widgets that have different quality ratings $q\in\{0,1,\dots,N_q\}$ and which are in different regions $R\in\{R_1,R_2,\dots,R_{N_R}\}$. Suppose that the price of these widgets is based on, in a time-varying manner, both objective qu... |
I have a scatter plot that I have drawn a line of best fit through in JMP. I want to know what equation to use to calculate the predicted y at specific points across the line. For example, if my x values range from 0 to 100 and I need to calculate the y value where x = 25 intersects the line of best fit, how would I ... |
I'm looking to train a regression on this dataset:
$$
D : (f_{1}, y_{1}),(f_{i}, y_{i}), …, (f_{n}, y_n)
$$
Where $y$ is an range of integers from $\{1,2...,n\}$ i.e. not continuous like in the traditional regression case. Given that the response is in some sense discrete, it can have many examples for a given $y_i$.
... |
I was trying to learn a sine curve
$$ f_{target}(x) = sin(2 \pi f_s x )$$
with $f_s = 4$, from 10 points, with linear regression and a polynomial of degree 9:
$$f_{model}(x) = \langle w, \Phi(x) \rangle = \sum^9_{i=0} w_i x^i$$
with Stochastic Gradient Descent/SGD (or GD). I was doing this to play around and get some i... |
I have a dataset C of 50,000 (binary) samples each of 128 features. The class label is also binary either 1 or -1. For instance, a sample would look like this [1,0,0,0,1,0, .... , 0,1] [-1]. My goal is to classify the samples based on the binary classes( i.e., 1 or -1). I thought to try using Recurrent NN (LSTM) to gen... |
I have a simple experiment with two groups of subjects (each group has $30$ subjects). At the outset of the study, the two groups have shown to be equal in terms of the dependent variable. Now we introduce a treatment to one of the groups, keeping the second group as the control group.
Questions:
1- To measure the effi... |
How does one go about identifying if a complementary relationship (in the economic sense) between $x_1 $and $x_2$ exists in the determination of $y$.
i.e. $$y=\beta_o+\beta_1\min\{x_1,x_2\}+\mu$$
what tests have to be done here and can this be estimated using OLS?
*R code would be appreciated.
|
I am considering a multivariate time series. I denote the general term of this multivariate time series by $Y_t = \left[y_t^{(1)}, \ldots, y_t^{(k)}\right]^T \in \mathbb{R}^{k \times 1}$.
For some background, each univariate series $\left(y_t^{(i)}\right)_t$ corresponds to the daily returns on the price of a security.... |
I have been training a Spatial Transformer network with DNN on GTRSB dataset. I initially used SGF with momentum and was able to achieve good accuracy.
For further improvements and testing, I decided to change the optimizer to Adam, but strangely I am not seeing any increasing in training or validation accuracy after ... |
Im currently reading The Foundation of Modern Time Series Analysis by Terrence C. Mills.
In the fourth chapter he discusses the concept of difference data to remove secular trend and the history behind it.
On page 36, section 4.7 it says:
Cave and Pearson then computed correlation coefficients for all pairs of pairs ... |
Given the EGARCH specification:
$\log(\sigma_t^2)=\omega + \alpha(|z_{t-1}| + E[|z_{t-1}|]) + \gamma z_{t-1} + \beta \log(\sigma_{t-1}^2)$
Is it possible to find a closed-form solution for the unconditional variance?
Some sources such as Matlab propose $e^{\frac{\omega}{1 - \beta}}$, but Matlab does not state its sourc... |
For example this thread: Generating random variables from a mixture of Normal distributions
First choose a distribution according to the weights.
Then sample from the chosen distribution.
How to prove the correctness of this method?
|
In Terrence C. Mills book Im currently reading The Foundation of Modern Time Series Analysis on while discussing Person's detrending methods, he mentions the following result.
... Concider the deviation of $x_t$ from a three year moving average centered on $$x_t:x_t-(x_{t+1}+x_t+x_{t-1})/3$$.
This is equivalent to:... |
My understanding is that both MF and LDA can be applied to do document classification. I will first summarize my understand about these two methods before I ask my questions.
Assuming we use a big matrix X to summarize the documents in a corpus and words in the vocabulary, where
X is a W x D matrix, and
$X_{ji}$ repr... |
I have a naive question about decision theory. We calculate the probabilities of various outcomes assuming particular decisions and assign utilities or costs to each outcome. We find the optimal decision by finding the one with the greatest expected utility.
But why should we reason in this way? Each decision in fact h... |
I am interested in the paper entitled "Generating survival times to simulate Cox proportional hazards models with time-varying covariates " (Stat Med. 2012 Dec 20;31(29):3946-58.),and want to simulate such kind of survival data. The R code is shown below. However, the beta(t) for time-varying covariate is not as define... |
Suppose that I have want to make a model that does something. Now when I search about the topic in Google or YouTube, I find many related tutorials and it seems like some clever programmer had already implemented that model with Deep learning.
But how do they know that what type of layers, what type of activation funct... |
I am playing with a data set and want to show the correlation between one variable (binary (delayed)) against rest of the variables (departure time, destination and the date) but I do not have any idea of the plot I could use
Which plot could I use to show the correlation between my binary variable, the rest of the v... |
I have fitted four distributions to a sample using MLE.
The following code (example) was used to calculate the MLE in python:
from scipy.optimize import minimize
from math import exp, log
def distr(d, a):
result = (d/a**2)*exp(-d/a)
return result
def log_L(a, diameters):
result = -sum(log(distr(d, a)) fo... |
I have counts over time (yearly), but I can't do panel analysis because of a time-related sampling bias, i.e. my data appears trended but I think it is because of a sampling bias, not a real underlying trend. Hence, I've decided to take the historical average of the variables instead.
My yearly data is very skewed: a ... |
Following is the formula to estimate parameters
w =(λI+ΦTΦ)−1* ΦTt
lambda is the regularization coefficient and w are the parameters of our model. fi are the features. And in order to compute the error
E= SSE + (λ/2)*wTw
SSE is the usual sum of squared errors but here the additional term is regulariser error.It is sa... |
Say I want to test the effect of two levels of my independent variable (IV) on some dependent variable (DV). For instance, administering a drug in a small vs large dosage, and then measuring reaction times for each. Assume also that I find that the effect of "high dosage" is greater than the effect of "small dosage".
D... |
I wanted to do simple calculations for sum of squares for linear regression using a very simple example.
1) Let's assume that we have 3 obervations [x,y]: [[1,1], [2,2], [3,3]].
2) I created simple regression model which for each x is assigning 3. So it is a flat line.
3) For that regression line I wanted to calculate:... |
We are in the process of translating FACTG scale from English to Arabic. The scale includes 4 subscales (PWB (7 questions), SWB (7 questions), EWB (6 questions), FWB (7 questions)) .
Factor analysis for the Spanish version is :
On our pilot data (n = 23), we do :
fit <- principal(extractfactg(newfactg,'[PESF]'), nfa... |
So, I tried implementing k-fold cross validation with different ks. When k was equal to 3 resulting accuracy was 95 and 97 for k=1 and 7. I realise that there are other factors involved when predicting accuracy. But what effect does k have on it? And moreover why is it larger for k=1 than for k=3?
|
I am wondering about the different ways that Bayesian and Frequentist statistic connect with each other.
I recalled that the Maximum Likelihood estimate of a parameter $\theta$ is not necessarily an unbiased estimator of that parameter.
That made me wonder: Is the Mean Posterior estimate of $\theta$ an unbiased estimat... |
I need to simulate 1000+ values of a variable whose outcome will be in a distinct range with a given probability. Something on the following lines:
Range Probability
3 - 10 0.2
40 - 80 0.4
120 - 170 0.2
200 - 225 0.15
260 - 300 0.05
Purpose of this is to see the variability of the outcome in a giv... |
In group lasso we try to minimize the following
$$\frac{1}{2}\|Y - \sum_{i=1}^JX_j\beta_j\|^2 + \lambda\sum_{i=1}^J\|\beta_j\| $$
Often they change this to
$$\frac{1}{2}\|Y - \sum_{i=1}^JX_j\beta_j\|^2 + \lambda\sum_{i=1}^J\sqrt{p_j}\|\beta_j\|, $$
with $p_j$ the number of variables in group $j$.
The reason they give ... |
Suppose you run a chi square GOF test on a categorical variable with 2 levels and you reject the null (p= p0). If phat > p0, can you conclude that the population proportion is not only not equal to the hypothesized value, but is actually greater?
My guess is that you can say this because if the true proportion was less... |
In a factorial experiment the definition of the main effect of a factor A with two levels, 0 and 1, is the difference in outcome means between the two level averaging over all other factors, $\bar{y}_{A=0} - \bar{y}_{A=1}$.
What is the extension of this definition to factors with more than two levels?
Some possible id... |
Suppose I have a bag full of coins (could be any amount). One of the coins has a bias 2/3 towards heads and all the rest are fair. A random coin is then picked from the bag and tossed 25 times (the same coin is tossed all 25 times), and these tosses can be viewed as a test of whether the coin is biased or fair.
My ques... |
The claim is that $$(n-1)S^2/\sigma^2$$ is chi squared distributed with degrees of freedom $n-1$.
$(n-1)S^2/\sigma^2$ can be written as $$\sum_i^n \left(\frac {x_i-\mu}{\sigma}\right)^2-\left(\frac {\bar x-\mu}{\sigma/\sqrt n}\right)^2$$
I am almost there with understanding why this is $\chi^2_{n-1}$ distributed. I u... |
Why will someone even need a scale binomial random variable? If a distribution function can be given for $X/k$, where $k>1$, and $X$ is binomial, then probabilities for $x/k$ are deducible from the probabilities of $x$. However, because the binomial coefficient in the expression of $x$ grows very fast, there is hope t... |
Was reading through my lecture slides and I saw this question
I am not sure what or how the prof approached this problem after step 6.
It'd be greatly appreciated if anyone can tell me what's going on here.
|
I have observed rainfall data and would like to know how well they represent the predicted data. My first idea was to show the data on a scatter plot. Plotting x =observed vs y = predicted I set the axis to equal length as well as that the plots are square sizes.
t x y
1 2.3 3
2 1 1.5
3 4.4 4.8
Then I thought ... |
With a large sample size we can used a parametric test whithout testing a normality of distribution. from what size can we consider that the size of the sample is large?
|
The one-way random effects model for balanced data as described by Swamy/Arora (1978) is extended to the unbalanced case in Baltagi/Chang (1994) (another exposition is in Baltagi's text book). Various software packages claim to implement it. However, I found a little difference between some software packages for the as... |
In Chris Brooks book Introductory Econometrics for Finance on page 292 when discussing the problem with VARS he mentions.
... many proponents of the VAR approach recommend that differencing to induce stationarity should not be done. They would argue that the purpose of VAR estimation is purely to examine the relations... |
I've a set of data containing midi message information such as pitch, velocity, note on/off and delta time between the messages. These messages basically just act like the different musical notes.
I intend to treat the list of messages (which essentially are the notes being played) as sequences and run it through a LST... |
In my current statistics course we're being taught about time series, and in this context we came across sums like this:
$$\sum_{t=1}^{\infty} \epsilon_t r^t \quad \epsilon_t\sim \text{WN}(0,\sigma^2) \quad |r|<1$$
Where the $r$ is originally a $\phi$, representing the coefficients in a model as: $y_t=c+\phi y_{t-1}+\e... |
When we do MCMC algorithm we search for a tradeoff between probability of acceptance for each step and typical size of steps undertaken during each iteration of the sampling algorithm.
Are there any simple but meaningful examples, when we can derive probability of acceptance analytical as e.g. a function of the varianc... |
Here is a statement from Greene, Econometric Analysis:
Where $H_0$ is the hypothesis that $m:=Rb-q=0$
Where $b$ is a $k$-vector that is normally distributed (i.e. jointly normal elements, not necessarily independent). $R$ and $X$ are $J\times k$ and $n\times k$ deterministic matrices respectively. $q$ is a determini... |
I have some questions concerning estimating maximum likelihood of Gaussian mixture model.
As I have read around some material, they usually use EM algorithm for maximizing the complete likelihood function (with hidden variables). If without introducing hidden variables, can I optimize directly the incomplete likeliho... |
I found this formula written on a blackboard entering a math class
$$E[X|Y]= \frac{E[XY]Y}{E[Y^2]} $$
At first glance, this seemed too good to be true to me, but it could be due to my ignorance.
I have not seen this before and was wondering if this was true or under which conditions is it true?
|
The random variables X and Y have joint probability function $p(x,y)$ for $x = 0,1$ and
$y = 0,1,2$.
Suppose $3p(1,1) = p(1,2)$, and $p(1,1)$ maximizes the variance of $XY$.
Calculate the probability that $X$ or $Y$ is $0$.
Solution: Let $Z = XY$. Let $a, b$, and $c$ be the probabilities that $Z$ takes on the value... |
A model is said to be represented in state space form if it can be written as
$$Y_t = G_t X_t + W_t$$
where $$X_t =F_t X_{t-1} + V_t $$
and $W_t,V_t$ are some kind of random noise.
The steady state instead is written as
$$Y_t = G_t X_{t|t-1} + W_t$$
where
$$ X_{t+1|t} = F_t X_{t|t-1} + V_t $$
This should remind me th... |
I have a pool of $N$ items. I know that there are $c$ distinct types of items in $N$ and the distribution of the distinct types is uniform, i.e. if I sample 1 item from the pool its chance of belonging to any of the $c$ distinct types is $\frac{1}{c}$.
I sampled $M$ items from this pool without replacement, and there w... |
Suppose a survey was given to 100 people (the response is just a number between 0 and 1) and only the mean was reported. So 1 sample was taken with n = 100.
Now suppose this was repeated 20 times. So I have a list of means with 20 entries. It's my understanding that I can estimate the population mean and variance by t... |
I have a question about neural network.
I was reading this online book and stuck on the part of description for the way of updating weights. In the book they update weights by calculating the average of the sum of cost value but why do they have to use the average? How did they come up the idea to use the average?
I fi... |
L = max{0, M − cosine(q, a+) + cosine(q, a−)}
This is the loss function described in https://arxiv.org/pdf/1511.04108.pdf. This takes the ground truth and compares it with a negative example. How can I modify this for multiple negative examples?
|
I asked a previous question that I think was not worded well and long so I'm trying again!
I have 3 different tasks and performance for 20 levels in each task, therefore, performance for 60 levels in total. I want to exclude outliers before running correlations with these 60 performance measures and a few different dep... |
How can I perform a bootstrap analysis from a conditional logistic regression? The model has been built using the clogit function (survival package)? The model has the following structure:
mod <- clogit(event ~ forest + log_area +forest:log_time + cluster(ID_individual) + strata(ID_strata), method = "efron", data ... |
For example: say I want to train a network to classify images as containing a vehicle or not, does it help a significant amount to provide data as/predict as [car, truck, non_vehicle] over [vehicle, non_vehicle]?
|
We define likelihood of parameters $\theta$ given observations $x$ (assuming $x$ is sampled according to density $f$) as:
$$\mathcal{L}(\theta | x)=f_\theta(x).
$$
Is it correct to speak about "[l]ikelihood of the data" (The Elements of Statistical Learning before equation (2.35)), or should we only speak about the lik... |
I am trying to build a multiple regression model while partitioning my data into subgroups based on additional set of covariates. While I implemented lmtree() or mob() in the "partykit" package, I tried to understand post-pruning strategies using AIC and BIC criterion, but I need some helps!
In the lmtree(), we can see... |
I come from a stats background, but am currently working in a marketing/advertising statistics setting. I would like to see how stats is applied to this field so I don't have to reinvent the wheel. I would love to see, for example, how mixed models are used to asses promotion effectiveness, if such material exists. Any... |
I am trying to fit a year-long half-hourly dataset into Python statsmodels' SARIMAX. I plotted the correlogram and it indicates AR and MA terms well above 5 each, and periodic terms (daily) of around 2. But even going more than order 2 in the AR or MA terms of either seasonal or nonseasonal type gives an MLE convergenc... |
I am looking at homicide rates per US county in a given 3-yr period as a DV, against several demographic and political measures as IV. I have A LOT of zeros for the DV, and these are presumably real zeros. My research has indicated that if I were using count data instead of rates, this would be a great match for ZIP ... |
Background:
Assume company X has a cyber security incident team. One of their key performance/risk indicators is how fast they triage the security incidents. For the past 2 quarters, COO observed decreased amounts of incidents triaged within ideal/expected triage time.
Task:
Find out why there has been a decreased ... |
I'm currently trying to calculate the moments of $$r(w) = \frac{1}{Z}\Phi(y_i\cdot w^T x_i) \prod_{j=1}^d \mathcal{N}(w_j|m_j^{\setminus i},v_j^{\setminus i}), $$ where the partition (or normaliser) function \begin{align}Z_i &= \int \Phi(y_i\cdot w^T x_i) \prod_{j=1}^d \mathcal{N}(w_j|m_j^{\setminus i},v_j^{\setminus... |
I have a retrospective sample that contains a treatment and non-treatment group with >10 covariates comprised of both categorical and continuous variables. I used the chi-squared and Mann-Whitney U tests (most of the covariates were non-parametric) to compare the treatment and non-treatment groups. There were significa... |
Let X be a random variable. Will its expectation E[X] expressed as a (possibly infinite) sum converge for arbitrary X?
My intuition would be yes. Since E[X] is a function of a r.v., E[X] is a r.v. itself, so by definition it maps to the reals. The infinity is not a real number, so there will be a limit to which the E[X... |
I have several time series of two variables over the course of one year (approx. 2.5k observations). I hypothesize one variable (x) acts as a potential predictor for the other variable (y). I looked for the period in which y is best described by x ("best" as in strongest Pearson), took the observations from just that o... |
I would like to compare two models, one of which has a transformation on the response variable, that is:
First model: $y \sim x+z$
Second model: $y^{1/k} \sim x+z$
Since AIC can be used only for models with the same form on the response, how could I potentially solve this problem? I know that if we have a log transform... |
The average order rate (Orders with revenue > 0) is 58% in the population. How likely is it that the observed sample order rate or greater is because of random chance? I am not able to upload data set here, however, there is a column (named order) having (0 and 1) values.
The order rate is based on a variable that has ... |
I am reading the following link : http://blog.manfredas.com/backpropagation-tutorial/ for understanding the derivation of the back propogation algorithm.
In the step for computing the partial derivative of E with respect to w vector, in step 2, the author has directly replaced hw(xi)-yi as sigmoid(xi.w) in the next s... |
A group of 21 women and 14 men have a certain disease with probability p, independently. If we know that exactly 5 of the people have the disease, what is the expected number of women who have the disease?
Using LOTE here, we can assign an indicator random variable for those with the disease and condition on the prob... |
I am trying to understand how the principles of nested anova in R, but I am having extreme difficulty with the error term.
Imagining the simplest case. I measured plant growth in two places, A and B. Inside place A, I applied treatment w to five plants, and treatment x to another five. In place B, I applied treatment y... |
I'm graduated now, and swear I remember this exact kind of problem coming up in my Bayesian statistics class, but I can't remember what the answer was.
The Problem
So my wife's brother is red/green colorblind (xY), but her father is not(XY), and her mother is not, so her mother must be a carrier(Xx). Red/green color-bl... |
I want to do an AB test to check if one version does significantly increase revenue. Generically speaking I want to test whether the central tendency (mean) of 2 groups are different from each other on the basis of (unpaired) samples of the 2 groups.
My understanding is, that I could use the following approaches:
Stu... |
I wanted to ask somebody for an opinion about one thing I found in the statistical book (Mardia, Jupp - Directional statistic).
They were defining circular symmetric distribution in following sense:
The distribution of circular random variable $\theta$ is symmetrical about the $\mu,$ if the distribution is invariant un... |
We have a model in state space form
$$Y_t = G_t X_t + W_t$$
where $$X_t =F_t X_{t-1} + V_t $$
and $W_t,V_t$ are some kind of random noise.
I am confused between these two predictions of $X_t$ that I will call $\hat{X}_t$, on one hand we predict that given information up to time $t-1$
$\hat{X}_t = F_t X_{t-1}$
this sim... |
Every day $t$ we observe several (independent) realizations of a variable $X_t$. This variable is the sum of a time dependent mean value and white noise:
$$X_t=\mu_t+\epsilon_t$$
You can assume $\epsilon_t$ has a fixed variance over time, is Gaussian and independent of everything. The underlying time series $\mu_t$ cou... |
I'm struggling a bit with interpreting the output of a linear regression in Weka. This is my model:
0.1063 * checking_status=0<=X<200,>=200,no checking +
0.1329 * checking_status=>=200,no checking +
0.0593 * checking_status=no checking +
0.2201 * credit_history=existing paid,delayed previously,critical/other e... |
I want a model with a random slope, but I want to restrict the random slope to be between 0 and 1, something like a beta distribution.
Is there a way to specify the distribution of random slope in the lmer models in lme4?
|
Sorry if the wording is confusing, I feel it accurately articulates the question although being a bit of a head teaser.
Essentially I am running many cross-validated models. Each model produces a (marginally) different curve for the loss function against penalty parameter. I know I can average all these functions and f... |
Could I use maximum likelihood method or any other frequenist method to estimate parameters for 3-level hierarchical model?
Is there any references help me in this case?
Thank you
|
I have been searching everywhere but haven't found any explicit information about this.
I have a total sample size of 15 weeks but only 3 of those weeks have the result i want. So p=3/15
But if I want to find a confidence interval for that, I checked n*p=15*3/15=3 which is less than 5. How would I be able to find the c... |
I have a dataset with repeated measures, in which for each unit $i$, we observe multiple observations (for the same variable) $y_{ij}$ and multiple $x_{ik}$, but we don't know which $y_{ij}$ observations correspond to which $x_{ik}$ observations, (i.e. we don't necessarily have $j=k$). In fact, I usually observe 3 $y_{... |
I am having troubles interpreting the qq plot below. The histogram is residuals from linear regression. How to interpret negative theoretical and sample quantiles? Shouldn't it be [0,1]?
|
I am doing clustering of variables using hclustvar() function from ClustOfVar package in R. The example given in R for the decathlon data is:
data(decathlon)
tree <- hclustvar(X.quanti=decathlon[,1:10], init=NULL)
plot(tree)
The function does the PCA and then analyze projections of variables on main components to de... |
I think this has a simple answer but I can't quite figure it out. I'm trying to simulate a causal relationship (or lack thereof!) and corresponding confounders from a directed acyclic graph (DAG), so I can't simulate everything at the same time from a correlation matrix because if for instance C entirely confounds the ... |
I have the following dataset shown below. Any value between 500 & 900 were categorized as A, while values between 900 & ~1500 were mixed between A and B. I want to find the probability of getting A, B, and C at any value of x where x is my independent variable and A,B,C are my dependent variables. It seems to be a good... |
I am having a difficult time determining the support or range of a MGF for a given pmf. The specific questions states to find the MGF of f(x)=6/((x^2)(pi^2)) for x=1,2,3...
The result (which is the same answer on the prof's answer key) is
(6/pi^2) Sum (from x=1 to inf) (e^(tx))/x^2
The part that I do not understand is ... |
I have a pretty simple question.
Is it worth including a binary variable as a random effect within a mixed effect model?
For example, the fixed effect of a binary variable tells the mean effect between 0 and 1 in a regression. If I also include that as a random effect in a mixed effect model, what does this tell me?... |
Disclaimer: I don't have great stats knowledge.
I'm doing some exploratory data analysis with the goal of detecting whether or not there is periodicity in the data set. I have a collection of photon arrival times and associated spatial locations (i.e. a 2d image with times that each photon hit). The data has two princi... |
When learning about confidence intervals, we are told that we must not talk about "the probability that the true value lies within the interval" because (frequentist) probability is the limit of frequencies in a mostly-fictional population of experiments, and has nothing to say about whether a fixed value lies in a fix... |
I am newer to mixed models and ran into a confusing spot with one of my models because it violated the assumption of homogeneity of variance. I am running this in R and using lmer from lme4.
Sample of df structure:
Subject Condition Latency
1 A #
1 B #
2 A ... |
I know similar error messages were discussed before, but my question is different than those.
I have a model in the following form:
$$Y_{ij} = \alpha_jX_i+ \beta_j + \epsilon_{ij} $$
Here $\beta_j$ is a categorical variable (Group), $\alpha_j$ is a random slope for each group, $X_i$ is a categorical variable to identi... |
I know that the power of an experiment/study is determined by significance value $\alpha$, the effect size, and the sample size.
The power of an experiment increases if either of those increase.
And both an underpowered as well as an overpowered experiment are bad.
I understand the problem with underpowered experiment... |
I'm having a conceptual problem applying Markov Chain Monte Carlo for Bayesian parameter estimation; I know how MCMC works in principle but it's applying it to this problem that troubles me.
The theory has a function $K_1 \sin^2\theta + K_2 \cos^2\theta$ with parameters $K_1,K_2$ which predicts something (a particle de... |
Find the maximumlikelihood estimator of the following density function.
When I asked before, @Glen_b said that this is special case of shifted gamma distribution.
$$y=a+u^2$$ for u~N(0, $\sigma^2$)
Question says that work out the density of y.
Therefore I take
$f(y,a)=(y-a)^{1/2}$
At this point I am not sure whethe... |
Can someone please explain why the decision boundary differs between multinomial (softmax) and One-vs-Rest Logistic Regression for multiclass classification. Example shown below
http://scikit-learn.org/stable/auto_examples/linear_model/plot_logistic_multinomial.html#sphx-glr-auto-examples-linear-model-plot-logistic-mul... |
There is a way to run a faster $k$-means by using Elkan's method, which uses the triangle inequality to avoid some calculations.
I am trying to think of a way you could do a similar sort of thing for expectation maximization, specifically if you are using Gaussian mixture models.
Unfortunately, I only see weights and p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.