instruction stringlengths 9 38.7k |
|---|
I have performed a meta-analysis using five micro-array datasets. After performing meta analysis I visualized the heterogeneity using funnel plot and forest plot (using two up-regulated and two down-regulated genes). From the plots it can be concluded that for 3 genes (two top up and one top down), dataset 2 and 5 are ... |
When does a bivariate VAR(2) model equal to a combination of two separate univariate AR(2
) models?
|
As I understand it, in the specific context of linear regression, the R output "residual standard error" is an estimate of $\sigma$, the standard deviation of the distribution of the residuals. You can compute $\sigma^2$ by the MSE, which in general is the mean of the squared errors, but in regression the denominator i... |
I am analysing a dataset of tumor volumes over time of a tumor that occurs in children. It is hypothesized that the tumors shrink over time and shrink faster the younger you are. The question is how much the tumors decrease on average over time during different ages. I therefore thought I would need some regression and... |
I wonder if you can help.
# create the baseline (on which the for example a model is fitted form which one can sample and derive the uncertainity of the cycle)
x <- "
Groups 5Y(average) 2016 2017 2018 2019 2020
1 26 21 23 26 28 31
2 21 20 21 22 22 22
3 26 28 28 27 26 24
4 17 19... |
I have very basic knowledge in statistical science and appreciate your patience. My problem is if you have a bag with seven differently coloured balls, you are allowed to blindly pick 3 balls every minute, and you do this for 3 minutes (like three times). What can I use to make accurate, as possible, predictions on wha... |
I have fitted a generalized additive model with an interaction term using the gam function from the mgcv package in R. I would like to perform the default Type II analysis used by the Anova() function from the car package to check which variable is significantly associated with the outcome. It is my understanding that... |
Suppose $x\sim \text{Normal}(0,\Sigma)$ with diagonal $\Sigma$.
Is there a closed form solution or a good approximation to the following quantity where $y=x/\|x\|$:
$$f(C)=E[yy'Cyy']$$
Target is to understand the growth rate of $g(k)=\operatorname{Tr}(\underbrace{f\circ f \circ \cdots \circ f}_{k} \circ I)$ in terms of... |
I had a student point out this image in Learning Statistics with Jamovi that is also in Learning Statistics with R (Page 294 in the latter). I was going to send her a reply when I noticed something in the image:
Here it seems the author simulated some sample means and increased the sample size until reaching normality... |
I have a regression model that I am using for explanatory purposes. I have a set of binary covariates which are specific comorbid diseases. I also have a variable which is the sum of comorbid diseases (categorical). I would like to examine the effects of both on an outcome.
I ran the 2 models separately and the results... |
Suppose a hierarchical linear model with "random intercepts" $\mu_i$ fit to some raw (unscaled) data:
$$y_i \sim N(\mu_0 + \mu_i, \sigma) \\
\mu_i \sim N(0,\sigma)$$
If I rescale $y_i$ by subtracting the sample mean of $y$ from $y_i$, I know that $\mu_0 = 0$.
Is there any reason I shouldn't drop $\mu_0$ from the model... |
The theorem to prove is that if $X_n$ converges weakly to $X$, and $P(X \in D_g) = 0$ where $D_g$ is the set of discontinuity of $g$, then $g(X_n)$ converges weakly to $g(X)$.
In Durrett, this is proved by using the a.s. representation, getting $Y_n$ that equals to $X_n$ in distribution and $Y_n \to Y$ almost surely.
... |
I calculated the difference in 2 proportions using the prop.test() using some exemplary data I found in internet.
> (ppt <- prop.test(x = c(11, 8), n = c(16, 21),correct = FALSE))
2-sample test for equality of proportions without continuity correction
data: c(11, 8) out of c(16, 21)
X-squared = 3.4159, df = 1, p... |
In the Metropolis-Hastings algorithm, depending on the current state $x$, I have a distribution $\rho_x$ and I want to use a sample from $\rho_x$ as the proposal in the next iteration. (I guess technically this means to start the Metropolis-Hastings algorithm afresh with a new proposal kernel and for only one single it... |
Does the unit of measurement change how we calculate sample size?
For example, if we were to run an A/B test on ads with our target metric being click-through-rate, and we are doing a sample size calculation:
We would maybe use some kind of proportions z-test.
Does it matter if we are calculating a sample size for ad i... |
Let $X_1, \ldots, X_n$ be a random sample from $\mathrm{U}(0, \theta)$, where $\theta \in[1, \infty)=\Theta$, say. Here I tried to find complete-sufficient statistics for $\theta$ as my main target is to get a UMVUE of $\theta$. I discover that $T=X_{(n)}$ is not complete for $\theta$ by taking a counter-example $g(t)=... |
I collected data from 10 patients regarding the amount of sugar they consume in a day and want to see whether this amount significantly differs from the average amount of sugar consumed by the general population per day.
This value consumed by the general population is a single average value published by a national ins... |
I‘m trying to find 95% confidence interval for $\sigma$ from a given sample. The sample is: $$ n=6 \\40000, 200663, 142690, 48560, 40000, 242628 $$ (we know that we’re dealing with normal distribution).
I have already found confidence interval for $\mu$, which is $[25275.446, 212904.887]$. For $\sigma,$ I’m using the f... |
A retail company has traditional brick-and-mortar stores of varying sizes and assortments and a webshop with a considerably larger assortment.
I am interested in a method for measuring how the introduction of more brands to the assortment cannibalises the sales from other brands within the same category. Most of these ... |
Suppose I know the effect of running on strength of muscle 1 and 2 and their $p$-values. These values were calculated from the same sample. Now I want to know the effect of running on the strength of muscle 1 (weight 1) and 2 (weight 2) combined. The effect $E$ can be easily calculated:
$$E_\text{comb} = \frac{1·E_1 +2... |
I am trying to learn coding and want to create a simple game. The idea is that there are 20 different animals, and you have 5 rooms, each round 5 out of the 20 animals hide in the room, where behind the door of each room there is one unknown animal. The player who guess all the animals wins. Is there a statistical mode... |
can you help find the maximum (analytically) of the following posterior pdf?
$p(\theta|x) = \frac{\alpha}{\sqrt{2\pi}}e^{-\frac{1}{2}(\theta-x)^2} + \frac{1-\alpha}{\sqrt{2\pi}}e^{-\frac{1}{2}(\theta+x)^2}$
In particular, I am interested in values $\alpha=\frac{1}{2}$ and $\alpha=\frac{3}{4}$. If I draw $p(\theta|x)$ i... |
I know how to use e.g. the Chi-Square test to check whether data are uniformly distributed. I was wondering whether the approach changes if the data comes from multiple participants, i.e., there is a grouping variable.
Completely arbitrary example: Say we want to check whether different pizza types (which I treat as mu... |
The additive chi-squared kernel for histograms is defined as
$$K(x,y)= \sum_{i=1}^n \frac{2x_i y_i}{x_i + y_i}$$ Is this kernel positive definite on histograms? And if so, is there a known expression for its feature map? It does not have to be the canonical feature map mapping to the RKHS associated with $K$, just any ... |
I am working on a research problem in which I compare an ARIMA, a lightGBM and an LSTM model across different hierarchical levels in a sales forecast setting (similar to the M5 forecasting competition scenario). Before I elaborate further on my setting I want to be upfront with my question:
How can I use the same valid... |
I don't know if this is the right forum to ask this, but anyway.
I don't have enough yearly data to perform a study on. Suppose I put weights on my monthly data to transform the monthly data into yearly data so the monthly data is now yearly frequencies instead of monthly frequencies.
Is it possible to assume that thes... |
Consider the following regression:
$$Y_i = \alpha + \beta X_i + \epsilon_i.$$
I have to test the following hypothesis:
$$H_0: \alpha = \beta = 0;$$
$$H_1: \alpha \geq 0, \; \beta \geq 0, \quad \alpha \;\text{or}\; \beta \; > 0.$$
In other words, I want to test the null hypothesis that both $\alpha$ and $\beta$ are equa... |
I am trying to figure out what $E[E[X|Y]|X]$ equals to. Could it be further simplified?
My initial guess is that it should be equal to X. However, I have no clue if it is correct.
I know $E[X|Y] = \int xf(x|y)\,dx$ and $E[E[X|Y]|X] = \int \int xf(x|y)\,dx f(y|x)\,dy$, but I am stuck here.
|
Consider a hypothetical world in which only three variables exist: X, Y and Z. X causes Y, but Z also causes X and Y (refer below). Assume that this model is complete, and no others factors exist in this world.
Consider an individual who observes measurements of X and Y only. On plotting the results, they find that th... |
The question goes like this: Use Jeffreys prior for Bernoulli distribution and find the prior for $\eta$ where: $$\eta(p) = \left(\frac{p}{1-p}\right) $$
So $\eta$ here is some kind of a transformation on the Bernoulli parameter $p$, and I know that Jeffreys prior $\pi(p)$, for Bernoulli distribution, is:
$$\pi(p) = \s... |
I have some data from a trial where I have two groups of patients (20 with ongoing disease and 20 without disease).
Both groups have some continuous data at three time points from a subjective outcome measure (on dizziness).
I would like to know whether the resolution of the disease has an effect on the subjective outc... |
I have a very general (and probably also quite naive) question: Let's say I have arbitrary data points in {x, y], when I plot all these and fit and/or filter them (with filter I mean something like a Chebyshev-filter, high pass and the like) and I use the fit or filter afterwards for further invesigations.
Would I risk... |
I am confused about the possibilities to predict the mean using quantile regression forests. In my understanding, quantile regression enables the prediction of the probability distribution, i.e. the prediction of quantiles. Some studies, however, use quantile regression forests to predict the mean in addition to the p... |
Given a symmetric positive definite matrix $\bf \Sigma \in \mathbb{R}^{n \times n}$, I want to find a matrix ${\bf \Gamma} \in \mathbb{R}^{n \times n}$ and a vector ${\bf m} \in \mathbb{R}^n$ such that if ${\bf X} \sim N(\bf{m}, \bf{\Gamma})$, then the random vector $\bf{Y} = (\exp(X_1), ..., \exp(X_n))$ has covariance... |
Consider a hypothetical discussion about a Lotka–Volterra experiment involving foxes and rabbits:
> Ernie: Species is categorical.
> Bert: In fact it is bimodal.
> Ernie: Can you specify the units of the axis you claim species is bimodal?
> Bert: Sorry no, because it is bimodal along several axes.
Ignoring whether ... |
Currently, I am trying to run the multinomial model Age = Gender to investigate the effect of Gender on the probability that my study animal belongs to a particular age class. I am not necessarily interested in the model parameters, but more in the model fit estimates. More precise I am interested in whether:
Estimates... |
I am reading a paper named "Clinical scoring system to predict hepatocellular carcinoma in chronic hepatitis B carriers" and confused about how to construct the prediction score by weights of significant variables.
The paper said :"A simple risk score was devised by using significant variables obtained from stepwise m... |
Given high-dimensional Monte Carlo samples $\bf{X_1},...,\bf{X_N}$ from a probability distribution $p({\bf x})$ in $\mathbb{R^d}$, I want to estimate a rectangular highest-density credible region for $p({\bf x})$. That is, I want the smallest-volume hyper-rectangle (or "box")
$[{{\bf l}, {\bf u}]=\{{\bf x} \in \mathbb{... |
I was comparing results that I generated in R for complex survey analysis using the survey package to results from SPSS using the complex samples analysis add-on. The sample size is large ~ N=5500
This is the R code:
svy <- svydesign(ids = ~cl1+houseID, strata = ~strata_study, weights = ~wt, data=data_in,nest = TRUE, ... |
Can someone help with a sample size analysis question?
Study design:
I have a sample randomly assigned to answer 1 of 5 different questions that vary in difficulty (1 - Easy -> 5 - Hard). The question is true/false question (binomial).
I plan to conduct a chi-square test of independence to see if there's a relationship... |
A binary logistic regression outcome variable is defined with reference to an age criterion. The binary outcome is 'Early death'=1 -- meaning the person died (in a follow-up observation period) before reaching age 65. All subjects have the same observation period. At the start of the observation period, the age of all ... |
Suppose I observe random $y_{i,1}, y_{i,2}$, and I wish to estimate the correlation between them.
However, the $y_{i,j}$ are observed subject to some sample selection criterion.
That is,
there are some observed covariates $x_{i,1}, \ldots, x_{i,k}$ and an unobserved variable $z_i$ such that
we only see the $y_{i,j}$ if... |
I have longitudinal data across several time points. At each time point, participants completed an online test up to 3 times (i.e., measurements were completed 1-3 times at each timepoint). The number of times a participant repeated the test was optional, with participants generally completing the test more times at ba... |
I am looking for help on correlated systematic errors, and their meaning. I have some quantities $x,y,z$ which determine a function I need to calculate. These 3 quantities are determined by a measurement, and the uncertainties on the measurement translate into an uncertainty on the function they are used to calculate.
... |
I have data that consists of multiple variables. One of those variables, let's call it A, is categorical. The rest of the variables (i.e., B1, B2, ..., B12) are count data. I want to determine whether A affects any one of the count variables. To do this, I implemented the following procedure in R,
for (i in colnames(Co... |
If I am running a regression of the following form:
$y_{i,t} = \mu_i + \beta_1x_{i,t} + \epsilon_{i,t}$
Where i indicates group, t time, and $\mu_i$ are a set of fixed effects for each group, and x is my independent variable of interest.
Say I estimate this model to control for time invariant characteristics. Now, if w... |
I have conducted exploratory factor analysis with psych and confirmatory factor analysis with lavaan (following the code on ch 15 of this book: https://doi.org/10.1515/9783110786088) on a dataset. Everything seems fine with the analyses, the model fit is good (I am adapting a previously used scale to my dataset), and a... |
If I have a set of $N$ independent samples from a probability distribution $P(X)$, $X_i\sim P(X)$, then I know from the central limit theorem (assuming the distribution is well behaved) that the moments of the sample distribution $\overline{X^k}\equiv \frac{1}{N}\sum_i X_i^k$, will each individually be normally distrib... |
I have the output (shown below) from the GLM with Gamma(link = "log").
The outcome (dependent variable) is strictly greater than 0, and the group variable (predictor) is binary (either 0 or 1).
In this case, is it right to conclude as follows?
Group 1 reduces the mean outcome by a factor of exp(-0.04) = 0.96.
The ex... |
Let's suppose
$$E\left(\frac{1}{x}\right)=\int_{0}^{\infty}{M_X(-t)dt}$$
Could you please help me to find
$$E\left(\frac{1}{x}\right)$$ where
$$X \sim\textrm{Gamma}(\alpha, \beta)$$ and $$E(X) = \alpha\beta~?$$
|
Let's say that medication A significantly increased the patients' health on average, but so did medication B (for independent sets of patients).
Obviously both medications increased the health of the patients on average, but is there a statistical test that could test whether the increase of one of the medications was ... |
I’m looking at a data set where 15 properties undertaking new management practices are sampled over three seasons. Measurements taken include variables such as vegetation cover and canopy cover. Quadrats have been randomly allocated across these properties, and the number of quadrats per site is related to property siz... |
I'm new in NN and my math is not that good. I try to do manual calculation using NN model. I already know and try to calculate the feedforward and backward one by one using the formula. but when I try to calculate the backpropagation in matrix form, I am confused how to write it, especially in dE/dV. I have NN with arc... |
The Fisher information is given by
$$J(\theta) = -E\left[\frac{d^{2}\log p(x | \theta)}{d\theta^{2}} \bigg|~\theta\right]$$
To consider the Fisher information for a binomial parameter:
Let $p(x | \theta) =\binom{n}{x} \theta ^{x} (1 - \theta)^{n - x}$ where $\binom{n}{x}$ is the binomial coefficient.
The log likelihood... |
I created boxplots for 5 traits to show the spread of true age for each variant of each trait in both samples between 2 observers:
A professor suggested that I should use scatterplot of Price vs Kim with symbols representing certain age ranges. Would this be a better choice?
|
I am struggle in the variance associated with angle variance. For example, I have
$$\theta= \operatorname{angle}\left(\frac{1}{N}\sum_{n=1}^N r_n e^{i\theta_n} \right),$$
where both $r_n$ and $\theta_n$ are independent variables.
Now how can I obtain the variance associated with $\theta$?
|
My question is related to the autocorrelation present in the mean-model (which is an ARMA process), which will be used in a GARCH model. Is it ok to have autocorrelations in the residuals of the mean-model, given that it will be used in a GARCH model, which by robust standard errors takes care of the residuals in the v... |
My model generates numbers, say x= 0.2719094. In the output, this is supposed to be an integer (that follows Poisson distribution, which is accounted for in the generation) mostly 0s, some 1s and a little of 2+. My idea is to round this x= 0.2719094 to one of the 2 closest integers with uniform weighting. These numbers... |
I have some confusion around what the null hypothesis should be for an A/B test. When we decide to do an A/B test and proceed to perform a sample size calculation. Let's say we work with the following assumptions, a conversion baseline of 2% and a relative MDE of 50% (80% power, 5% alpha, 1 sided test) and use somethin... |
I have begun studying survival analysis and am using R packages survival and survminer. Verbal descriptions of statistical concepts can be “sloppy” and I’m trying to understand these concepts using crystal-clear language. I’ve worked through a Cox Proportional Hazards model example using http://www.sthda.com/english/wi... |
In a reflective measurement model, the number of degrees of freedom is calculated according to the number of information (covariances / variances) minus the number of parameters to be estimated (factor loadings, variance of the latent factor, error variances of the manifest variables).
See Eoin's example below. Here I ... |
I would like to use slope values in PCA. The problem I face is that the slopes I calculate per group could be within different ranges of values. We know that it is important to normalize your data before PCA discussed here: Why do we need to normalize data before principal component analysis (PCA)?. So my groups could ... |
Question: "Is there a difference in hearing quality between the left and right ears?"
I'm testing for a difference in an interval variable (1-12 scale, hearing quality in each ear) between two paired samples (left ear/right ear).
Both samples have a highly skewed distribution (suggesting Wilcoxon).
However, a histogram... |
I'm fairly new to statistical analysis, but was told to use a multilevel model for my research purpose. I am interested in investigating whether attitudes on the EU integration are different for left and right wing individuals in countries with stronger and weaker welfare state. For this I would like to use an interact... |
Given $X_1 ... X_n \sim \textrm{Exp}(\lambda)$, I found the MLE : $$\hat{\lambda} = \frac{1}{\bar{X}}$$
Now I need to find confidence intervals for: $$\eta = \lambda \cdot \log(\lambda)$$
To do so, I need to find the standard error for $\eta$, but first, I'll need the standard error for $\lambda$, and I found that via ... |
I have seen many links about MA for batch normalization but nothing answered my question.
In Batch normalization, you get means and variance for each mini-batches in the training process. And the default process, you calculate through the moving average.
Those mini-batches are chosen randomly so there is no higher prio... |
Let $X \sim \mathcal{N}(\mu, \sigma)$ be the model for a normally distributed population,
described by the probability density function $f_{X}(x; \mu, \sigma)$.
We can denote $\mathbf{X} = (X_1, X_2, \ldots, X_n)$ a random sample of size $n$,
and $\mathbf{x} = (x_1, x_2, \ldots, x_n)$ is a particular sample.
We know th... |
It can be seen that the following random variates have the same distribution:
$\frac{X_1 + X_3}{X_2 + X_3}$, where $(X_1, X_2, X_3) \sim \text{Dirichlet} (\alpha_1, \alpha_2, \alpha_3)$
$\frac{Y_1 + Y_3}{Y_2 + Y_3}$, where $(Y_0, Y_1, Y_2, Y_3) \sim \text{Dirichlet} (\alpha_0, \alpha_1, \alpha_2, \alpha_3)$
$\frac{Z_1... |
What is the multivariate distribution of $(X_1, \ldots, X_n | X_1+ \dotsm + X_n = y)$, given $y$ and that $X_i$ is (otherwise; without being given $y$) unconditionally independently normally distributed with mean $\mu $ and standard deviation $\sigma$?
And, to the task at hand: How do I simulate random drawings of $X$ ... |
I am performing $K$-means clustering on a dataset consisting of $n$ observations and $d$ variables, and I'm trying to determine the optimal number of clusters. Is there a test that can determine the statistical significance of adding another cluster?
I have considered the $F$-test with the following $F$-statistic
$$ F ... |
Assuming we have three random variables $X$, $Y$, and $Z$, and we want to estimate a least squares regression plane of the form $Z = a + bX + cY$. We do not know the individual observations, but we know all the means $\mu_X$,$\mu_Y$,$\mu_Z$, variances $\sigma_X^2$,$\sigma_Y^2$,$\sigma_Z^2$ covariances $\sigma_{XY}$,$\s... |
Andrew Gelman recommends placing weakly-informative $N(0, 1)$ priors on unknown parameters fitted in Stan and often does so in his own models. In Stan, the Normal distribution is parameterized by the mean and the standard deviation (not the variance).
I'm looking to fit a binary logistic GLM with at least 8 predictors.... |
Suppose that the discrete random variable $X_{n}$has a geometric distribution given by
$$f_{X_n}(x_n)=P_n{(1-P_n)}^{x_n}$$ where $$x_n={0,1,2,3,}$$ and $$P_n\ =\ \frac{\lambda}{n}$$ for $0<\lambda<n$. Find the limiting value of the moment-generating function of $Y_n= \frac{X_n}{n}$ as $n\rightarrow\infty$ and use this ... |
I'm running into a problem after trying what I thought would be a simple analysis. I have 47 sites where I measured a variety of habitat characteristics (canopy cover, habitat type, percent of bare ground, elevation, etc.). The habitat type consists of 4 categorical variables, canopy cover is continuous, and then there... |
I was watching Veritasium's Would You Take This Bet? video. In a part of the video Derek asks people whether they would accept the bet in the case of each true guess for flipping the coin the person would win $10$ dollars and for each true guessing this $10 $ dollar will increase twofold as $10+20+40$... etc. But for e... |
I'm using PSM with an Epanechnikov Kernel and a bandwith of 0.06.
I'm confused about which observations are matched. I thought it was (broadly) like a wheighted radius matching, where every control observation within a 0.06 propensity score distance from treatment unit T1 receives a weight and is matched.
But some sour... |
Assume the following linear relationship:
$Y_i = \beta_0 + \beta_1 X_i + u_i$, where $Y_i$ is the dependent variable, $X_i$ a single independent variable and $u_i$ the error term.
According to Stock & Watson (Introduction to Econometrics; Chapter 4), the second least squares assumption is that data should be i.i.d.
I... |
I am analyzing an anomaly event of daily stock returns. For many different stocks (>1000), I do some analysis to identify a day where I observe this anomaly.
To evaluate the effect of this anomaly, I am comparing the distribution of returns during a fixed period (e.g. one year) before and after the event date. For exam... |
Hi I'm trying to spatially analyse two point patterns in relation to each other: macrophage cells and tumour cells. The images I have generated coordinates from shows that the macrophages group towards the tumour cells but my graph from the imhomogenous L-cross type function shows the opposite. I don't know where I'm g... |
I am not really sure how to describe it with the correct mathematical terms. If there are any questions, I will try to explain further.
I have several instances of a group of proportions. One could say I have several pie charts, where each pie chart has the same kind of pieces (classes) and the pie's pieces always sum ... |
I want to calculate the sample size $n$ for a two-sided t-test with the following values:
alpha = 0.05
power = 0.8
effect size = 0.8
This is the code I tried in Python:
n = statsmodels.stats.power.tt_ind_solve_power(effect_size=0.8, alpha=0.05, power=0.8)
print(n)
This is the code I tried in R:
result = power.t.test... |
Let's assume that there exist a table ("Table A") with several rows and columns.
Each cell of the last column shows the sum of all values of the respective row, each cell of the last row the sum of all values of the respective column.
Let's make an example to be clear. The actual tables I have are of 19 rows and 7 colu... |
I am running binomial GLMMs in R to determine whether species presence (binary) on a hydrophone is different between seasons (i.e. spring, summer, fall, and winter) and photoperiods (i.e. day, night, dawn, and dusk). My models include a temporal autocorrelation structure with Group given as a single value since I am us... |
I try to use the definition of sufficient statistic to prove that
Suppose that $X_1,\dots, X_n$ is an iid random sample from $X\sim \mathrm{Bernoulli}(p)$. Show that $T=\sum_{i=1}^n X_i$ is a sufficient statistics for $p$.
The definition of sufficient statistics is that if the conditional joint distribution of the sa... |
Let $L(\theta;X)$ denote the log-likelihood of a model and I maximize the following to estimate $\theta$,
$$
\arg\max_{\theta}L(\theta;X)+\lambda\theta^2
$$
If $\lambda$ is 0, then the asymptotic distribution of $\theta$ is normal under suitable regularity conditions. What is the case when $\lambda$ isn't zero? I think... |
I conducted a survey of N=88 students.
I asked a question:
'What type of goal setting do you prefer?'
A: online
B: paper-based
C: no preference
Responses
A: 58
B: 9
C: 21
I will display this result in descriptive statistics, but I want to check for the probability this result in favour of online goal setting came about... |
I am studying forward-backward algorithm following the wikipedia page. I have little background in statistics and have managed to understand (hopefully) most part of the algorithm. However the scaling factor introduced in the Forward probabilities section is confusing me.
It says from the second last equation that the ... |
I have been pretty confused about maximum likelihood as expressed by my question here. But this question is not about MLE.
It occurs to me my confusion may have been because the likelihood function does not return likelihood. It returns probability density ( if I understand correctly).
So why is it called the likelihoo... |
I was wondering if it will violate any assumptions of linear mixed effects (LME) models if I were to include interaction terms between the covariates and IVs in my model.
For example, the model that I would like to specify would be:
model 1: lmer(DV ~ A / (B*C) + cov1 + cov2 + cov3 + cov4 +
B:cov1 + B:cov2 + B:cov3 + ... |
I am training an vanilla 5-layers LSTM. My task is trying to compare two models between without (baseline) and with the additional features (compared model). However, I found out that the compared model only surpass the baseline in a certain way of fine-tuning.
For example, I set up learning rate as 0.01, the compared ... |
In the regression model
$$y= x'\beta + u, \quad x = (1, x_2,...,x_K)$$
with
$$E[u |x]=0,$$
we know that it implies: $E [u] = 0$ and $cov(u,x_j)=0$, for $j=1,...,K$.
I think that the reciprocal is not true. Thinking geometrically, they seem equivalent, but I can't come up with a counterexample!
Do you have a counterexam... |
I have temperature-related time daily time series. I plot the time series and found that the plot have seasonal variations. Thus I differenced the series.
When I did Dickey-Fuller test for both temperature and differenced temperature using ur.df, the results say that both time series are stationary.
Dickey-Fuller test... |
Suppose we have three features $x_i \sim N(0, 1)$ for $i=1,2,3$. We then use Bayesian linear regression with interpolant $f(x, w) = wX$, such that we model y as $N(f(x, w), \beta)$, i.e., with a Gaussian likelihood. Then we set a zero mean isotropic gaussian prior on the parameters $w$ such that this prior is infinitel... |
Consider the following latent variable model for a potential Elo rating with additional player type.
Each player has a performance level $r$ and a playing type $\theta$. Assume that a game between two players can be modelled as follows
Compute the difference in playing styles $$d_1 = \frac{\theta_1 - \theta_2}{2 \pi} ... |
As far as I remember, it is possible to convert a multinomial logit model into a binary logit model using restrictions on parameters.
For example, suppose we have three alternatives, say A, B, and C.
Then, the choice probability in a multinomial choice model is
$$\Pr[J=A|W]=\frac{1}{1+\exp(\alpha_b+W'\beta_b)+\exp(\alp... |
A proportional hazards model $\lambda_i(t|x_i) = \lambda_0(t)\exp\{x_i^T \beta\}$ can be approximated using a piece-wise constant hazard, where the duration is partitioned into intervals and the baseline hazard is constant within each interval. In these notes, for example, it is shown that the death indicators $d_{ij}$... |
I have 5 years 15 min interval of electricity demand time series with a datetime index and a target variable. Don't have any other data to use. I'm curious about your experiences. In general how far is it possible to accurately predict the 15 min electricity demand? Our client wants 1 year prediction, but as far as I ... |
For any given value of x, say $X$, the distribution of y is called a y-array. Which is of course the conditional distribution of y given that $x = X$, which looks like:
$$\bar{y}_X = E(y|X)$$
which will be a function of X, and vary with it. However, what does it mean to say - by considering the x-array for $y = Y$, we ... |
Is there any theoretical work on how to measure posterior collapse?
One can measure decoder output, but it is not clear if the degradation (if any) happened due to posterior collapse or due to failing to match the data distribution. Therefore I'm interested in measuring "how informative latent variable z is". Thank you... |
I am having some doubts related to the PAC learning. I understood the main idea, but with the explanation found in the book "Understanding Machine Learning" I couldn't understand some ideas. The author starts by defining some sets, being H the possible models, h the selected model, D the true distribution of the data i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.