instruction stringlengths 9 38.7k |
|---|
In the Bayesian analysis, sometimes we can see that InverseGamma and LogNormal distributions are used as prior for variance or covariance matrix respectively. What are the logic or explanations of using these two specific distributions?
|
I am simulating data following this scenario: In a farm, the owner is interested in studying the effect of litter size on the weight at birth ($wb$) of some chickens. A random sample of litters (eggs laid by the same chicken) was selected and for all eggs at hatching wb was measured. The following model is assumed:
$$y... |
Suppose 100 balls where it is known that 1 is red and 99 are blue. Let y=1 if I select the red ball and 0 otherwise. All of this implies the marginal probability Pr(y=1) = 1/100.
Now I notice some balls are shaped differently. With certainty I can then identify 20 balls that are not red. Given this info (call it x), t... |
Suppose we have the following multiple linear regression model, if all the Beta's are the same, how will this be a simple linear regression model?
|
Let us consider a simple example that explains my problem. Let's say you are doing a simple pendulum experiment, and you measure the position as a function of time, then we have a very good model of this to expect that the position x from some center as function of time will follow a sine function
x(t)=Asin(wt+f)
and i... |
I want to understand how to model 'count' or 'customer behaviour' type features in survival analysis.
For example, assume that Netflix wants to predict time to churn after a customer upgrades to a Premier subscription by using a Cox Proportional Hazards survival regression.
Say the training data looks like this as at a... |
Total statistics noob here. Imagine a data set like this, in which two categorical pieces of information ("SLOT"/"ITEM") are mapped:
PARTICIPANT 1
SLOT1: ITEM_A
SLOT2: ITEM_A
SLOT3: ITEM_C
SLOT4: ITEM_B
SLOT5: ITEM_F
There are hundreds of these records. All the "SLOT"s will always be mapped exactly once per participan... |
I am new to time series analysis and struggle a little bit with "causality".
Assume I have the time series Y,X1,X2 and Z.
I want to test if X1 and X2 impact Y and if X1 and X2 are impacted by Z.
I know that there could be no direct causal link between Z and Y .
I try to accomplish this by stepwise regressions.
First, I... |
I am new to ARIMA. I want to add an intervention variable into arima model using SPSS time series analysis function. I made sure that I checked the box indicating the independent variable included in the model is the intervention variable. Once I ran the model, the result did not include this intervention variable in t... |
The Applied Longitudinal Analysis, 2nd Edition book as an R code to replicate table in section 5.7. The data for the TLC trial (tlc.dta) can be downloaded here:https://content.sph.harvard.edu/fitzmaur/ala2e/tlc.dta
The code reproduced here from the site above is as follows:
ds <-read.dta(tlc) #reading data from local s... |
The problem is,
Manufacturer receives 30% chips from A, and 70% chips from B.
Both A and B has Beta prior distribution for defective rate.
During inspection of 100 chips, 10 chips were found to be defective. Find the posterior distribution for defective rate.
My approach
Since the prior is beta, and the distribution is... |
I wonder why BIC is defined in a way where items independent of N are dropped. In other words, why in the following image those in equation 6 that don't vary as N grows are ignored in equation 7. Is this because when N approaches infinite only those dependent on N dominate? The source of the image is here
|
I have two groups that recieved a different combination of treatment. For the first group baseline is 15.5 and for the second group it is 17.4. The difference in baseline after some time is −9.0±1.0 for 1.group and −7.0±1.0 for 2. group. What would be appropriate method for calculating pos hoc power? I found this calcu... |
This is in context of Gaussian mixtures
$$p(\boldsymbol{x}) = \sum_{k=1}^K \pi_k\cal{N}(\boldsymbol{x}|\boldsymbol{\mu_k},\boldsymbol{\Sigma_k})$$
Bishop mentions on Page-111
Also, the requirement that $p(\boldsymbol{x})\ge 0$, together with $\cal{N}(\boldsymbol{x}|\boldsymbol{\mu_k},\boldsymbol{\Sigma_k})\ge$ $0$, im... |
I am running an OLS regression with 4 independent variables and two of the independent variables are non-linear with the dependent variable. The dependent variable is a percentage running from 0-100.
1.Is it better to transform the specific non linear indepedent variables into log or include a quadratic term?
After t... |
I have run a paired samples t-test of before and after observations in python using scipy stats ttest_rel, which came out p= 0.006, so highly significant, suggesting that the participants had different results after the treatment. However, the distribution plots and boxplots are coming out overlapping. Perhaps this cou... |
I have a binary logistic regression with one unique independent variable X and several control variables. My data has over 240k observations. When I ran both HL and Pearson chi square goodness of fit test on stata, the p values were both 0.000, suggesting a poor fit of the model. But the classification test suggests ac... |
In the Cox model, the dependant variable is often stated as time to event, e.g.
https://www.statsdirect.com/help/survival_analysis/cox_regression.htm
even though in the regression formula we model the hazard, h. I am aware of the relationship:
h(t) = f(t) / S(t)
where f(t) is the pdf of survival time and S(t) the survi... |
I am trying to use Binomial Logistic regression to identify features from X-rays, which are associated with a disease state. The idea was to try get Odds Ratios for important radiographic features*. It's pilot work right now, with only X-ray based variables being considered.
Since some features might interact and multi... |
In the YOLOv1 paper, Pr(Object) denotes the probability that there is an object in a certain grid cell.
When it comes to the ground truth values, which values can Pr(Object) take? Only 0 and 1?
What is the precise definition of "there is/appears an object" in a cell? Does an object appear in a cell if the center of it... |
I don't know how to use the matrix to calculate the second question. Do I need some formula to calculate?
|
The relationship between R's pbeta and pbinom is well known (e.g., Jonhson et al. 2005, Univariate discrete distributions. Wiley):
pbeta(p,x,n-x)=1-pbinom(x-1,n-1,p)
when x and n are integers
For example, pbeta(p=0.1,x=5,n=10-5)=0.01958 and 1-pbinom(x=5-1,n=10-1, p=0.1)=0.01958
I am scratching my head for the equivale... |
I have an experiment with a 2x2 between subject design. Let's say the two factors are A (with levels a1 and a2) and B (b1 and b2). I ran an ANOVA with the formula outcome ~ A * B, but my colleague wanted to do a Welch's test as well. The formula becomes outcome ~ condition, where condition has levels a1_b1, a2_b1, a1_b... |
My data represent percentages of total enzyme that is catalytically active. Something like relative units to total amount. Data are infiltrated with zeros (i.e. no activity detected)
I have 4 groups, each of 6 patients. (i.e. so total 24 observations with percentage of active enzymes)
I figure out that for percentage d... |
Suppose in a multiplayer game, we have a match being played for which we need X players, when the number of players is less than X the match will not take place.
In addition a player waits a maximum of Z seconds until the required X players gather, if the waiting time is greater than Z the player quits
How many willing... |
I have some basic conceptual misunderstanding of how to back out parameter estimates from the following function:
$W_{it+1} = \alpha_1 \frac{R_{t+1}}{R_t} W_{it} + \alpha_2 \frac{R_{t+1}}{R_t^2} W_{it}^2 + \alpha_3 \frac{R_{t+1}}{R_t} N_{it} W_{it} + \alpha_4 R_{t+1} N_{it} + \alpha_5 R_{t+1} N_{it}^2$
The observables ... |
As I understand simulated annealing, when the algorithm finds a point that is the best solution thus far, the space around that solution should be searched more frequently. However, I've been using scipy.optimize.dual_annealing for a while and it defies my expectations more often than I would imagine possible by chanc... |
I am having difficulty reproducing linear regression coefficients from Casella and Berger.
On page 583 figure 12.2.2. He shows two regression lines I am interested in.
(a) a regression of y on x
(b) a regression of x on y
I can get the beta hat matrix for (a), but not for (b).
Here is my work to get (a)
The key is that... |
I am studying some properties of the least squares estimator and I have the following statement, with $X$ a full rank matrix
If $e$ is independent of $\hat y = X \hat \beta$, then $S^2=e^Te/(n-p)$ will be independent of $\hat \beta$.
The teacher quickly said that $\hat y$ is one-to-one with $\hat \beta$ since $X$ is fu... |
I read the following from a document online here.
Galton was full of
ideas but was no
mathematician. He
didn’t even use least
squares, preferring to
avoid unpleasant
computations.
If Galton did not use least squares then how was he drawing his regression slopes?
|
I am trying to understand how the conditional probabilities of an Ising model having the following joint probability is given by a logistic regression model, as shown in the joint image. I'm more than confuse, could someone show me how?
There's not much documentation about it online, ughh!
|
Having found interesting this earlier discussion I wonder if there is any specific example of building a Fisher information matrix (FIM) in case $n\ge3$. I tried myself, but every time, I am getting stuck somewhere and I am unable to make a matrix that has vector of ones as one of its eigenvectors.
UPDATE
After reviewi... |
MCMC has several types of algorithms: Metropolis-Hastings, Gibbs, Adaptive MH, Hamiltonian Monte Carlo. What are their respective pro/cons, and how to choose them in the Bayesian analysis?
|
Good afternoon,
In an effort to learn more about statistics and SQL programming and possibly start building a project portfolio for myself, I've taken it upon myself to investigate a particular problem in Major League Baseball: maximizing performance while minimizing costs. If that sounds familiar, it's probably becaus... |
This is my first time working with data outside of what's been provided in class. I'm having trouble deciding how to go about this and I'd really appreciate any feedback from those who have done this much longer than I!
I have a data set containing all mass shootings and gun laws in the US with 142 variables. It essent... |
My study design includes: 4 groups of 6 observations per group. I have short and long survival group, each time 6 control “surrounding lung “tissues and 6 lung tumor tissues.
My first question would be tumor vs. control changes in both groups?
My second question: long versus short survival changes in tumor and “surro... |
I'm not sure the right procedure to add two hazard functions. Say I have two experimetal conditions goberned by the following probabilities
hazard rate function 1:
It is characterized by the probabilities 0.33, 0.43, and 0.23 and it produces the hazard rates 0.33, 0.66, and 1.
hazard rate function 2:
It is characterize... |
In a dataset I'm using to learn machine learning I have beside many others, one nominal and two cyclical features like bellow:
Location: "Orlando", "NewYork", "LosAngeles"...
Date: "2012-01-25", "2010-08-06", "2016-11-30"...
WinDir: "N", "S", "NW"...
I'm at the feature engineering step of the pipeline and after that I... |
I'm a TCG player, and in the game in question you work with a 50 card deck and with the limit of 4 copies of a single card, the game proceeds as follows:
Draw 5 cards from your deck
Decide if you like your hand or put the 5 cards into your deck again and shuffle, then draw 5 again.
After steps 1 or steps 1&2 you add 5... |
Suppose a population can be divided into 4 different groups (A, B, C, D) and you take the sample variance for a parameter of each group.
A proposed estimator for the population variance is
$$s^2_A/n_A + s^2_B/n_B + s^2_C/n_C + s^2_D/n_D,$$
where $n_A, n_B, n_C$ and $n_D$ are the number of observations in each group.
In... |
Gutin and Yeo (2007, Algo Op Research) identified a class of optimisation problems (called anti-matroids) on which greedy attains the unique worst outcome.
user856 presented the construction on math.stackexchange in 2014 here.
Are there classification problems that correspond to anti-matroids? Specifically: I am tryin... |
As a simplified example, assume I have a model with two linear terms and an interaction between them:
y ~ b0 + b1.x1 + b2.x2 + b3.x1*x2
x1 and x2 have very different ranges and variances, so I scale and centre them before running the model. When generating predictions from the model for one term, this has the benefit o... |
Imagine an algorithm with a parameter applied to different applications. For each application and parameter I can estimate the performance of the algorithm using simulations and historic data.
Therefore, I have a matrix of size number of applications times number of parameters with the associated profits. There are abo... |
Hi Cross Validated community,
My question has to do regarding expectation of a multiplication of two random variables that are dependent.
Assume there are two random variables, one discrete: $G \in \{0,1\}$ and one continuous: $D \in (0, 1000)$, the two variables are dependent $G \rightarrow D$. The payoff function $F$... |
I have a dataset where I need to test whether there are significant differences between GroupA and GroupB.
GroupA and GroupB contain values obtained from an experiment that was repeated over 3 days (Day = 1, 2, 3). Measurements are obtained over 6 hours for each of the 3 days starting at 0 (Hour = 0, 1, 2, 3, 4, 5, 6).... |
I have 2 large datasets containing many variables, A & B, where A is taken from period t and B is taken from period t + n. I have a model that was trained on dataset A whose predictive performance has now deteriorated on dataset B.
I want to test the similarity of the 2 datasets in order to assess whether the decrease ... |
I have a sum of n correlated variables $\sum_{i=1}^n X_i$ and would like to estimate the variance of the sum. I do it with two different methods.
Firstly, I can decompose sum as multiplication of the average of $\bar{X} = \frac{1}{n} \sum_{i=1}^n X_i$ and n. Next, I use a formula for variance of product of variables: $... |
Reading the ARCH and GARCH theory I understood that
alpha_0 have to be > 0 , but when I estimate my GARCH-X(1,1) model I obtain a non significant constant, like this:
Is it a problem? How can I justify that? Is it "against" the ARCH theory?
|
Let's say I have an estimation from 2 different people about human population of a small town. Both are (calibrated) 90% CIs:
Expert 1: 3,000-4,000
Expert 2: 3,000-50,000 (Intentionally much wider range)
How do I combine these to have a new range that is hopefully has a higher chance of being correct (more than 90% of ... |
The following talk:
video: https://www.youtube.com/watch?v=VUINeZUAlx8
slides: https://mike.place/talks/fl/ (including transcript)
explains federated learning by averaging several node-specific models together. It provides a high-level example with neural networks. Using NN, it seems straightforward that any weight/b... |
I'm currently working with the famous Iris data set in R. I want to test whether the difference in sepal width between setosa and the other plant species is positive, i.e whether setosa has a larger pedal width than each of the other two species.
Does anyone know how I could go about doing this? I suppose there should ... |
We would like to analyse the correlation between cytokine (IL-6) and miRNA expression.
However, we quantified the cytokine level in samples, in which the miRNA expression was quantified using either sequencing or qRT-PCR methods. Therefore, the miRNA expression in a part of the samples (n= ±40) is defined as the read c... |
I am analysing some data using a glmer and I want to figure out how to specify the random effects in the model. Basically, every subject underwent 10 trials for 4 consecutive days. I am wanting to investigate how environment, group and day affect the time on the 4 consecutive days. Here is a short summary of what the d... |
I have made a GLMM that gave me one of the variables as significant. However, when I did an ANOVA comparing this model with its nullmodel the result was not significant. This means that my model does not fit my data very well. What can I conclude from here? Does it mean that actually, the model cannot infer anything ab... |
Can anyone point me to sources (publications, blog posts, videos etc) about the following problem? (The more conceptual the discussion, the better!)
I have the two explanatory GAMs below (in this example implemented with mgcv), and would like to compare the effect sizes of s(x1) and s(x2) in a more formal way than just... |
I'm studying this paper for high-dimensional mediation analysis for a class project. Section 2 of this paper talks about different assumptions being made for identifying causal effects. But my instructor wants me to prove identification step by step using graphical analyses or probabilistic arguments. She mentioned tha... |
Say I have a sparse time series, i.e., containing many zeros. Furthermore, the values in the time series can only be positive or zero.
I want to test for the autocorrelation, i.e., fit an AR1 process to the data. Can I do so in a meaningful way without doing any transformation to the data? Or does it not make sense to ... |
I want to visualise what basically is a difference in difference graph but in a better way. My first idea was two split violin plots and it looks good but is too complex for the reader.
Any ideas on what to use or how to make this look decent?
Here the data
Group
Profit Round 2
Profit Round 3
Treatment
198.420... |
Let $B_t$ be standard Brownian motion and $\tau_a=\inf\{t\geq 0 : B_t \geq a\}$ be the stopping time where $B_t$ exceeds some value $a$.
Is there an analytic form for $\mathbb{E}\left[\frac{1}{\tau_a}\right]$ ?
Context:
Suppose $B_t$ represents the price of a financial instrument. If an investor buys this instrument t... |
I run a logistic regression with survey weights (only raking) with svyglm.
Thereafter, I calculated marginal effects with package margins (svyglm.margins).
However, one variable that is significant in the svyglm is not significant anymore when calculating marginal effects. Is this possible?
margins(svyglm-object, desig... |
Is there a general relationship that gives the total number of drawn samples (d) on average required to have at least percent (p) of distinct samples in a set size N when sampling randomly with replacement?
If I have 200 distinct elements (N) in the bag, and I sample with replacement, I can estimate that around 10^2.5 ... |
Formal Definition
Wikipedia gives the following definition of a process adapted to a filtration:
Let $(\Omega, \mathcal{F}, \mathbb{P})$ be a probability space;
$I$ be an index set with total order $\leq$ (often, $I$ is $\mathbb{N}$, $\mathbb{N_0}$, or $[0, T]$, or $[0, +\infty)$);
$\mathbb{F} = (\mathcal{F}_i)_{i \i... |
Suppose I have three variables $X_{1}, X_{2}$ and $Y$, where $X_{1}, X_{2}$ are continuous and $Y$ is binary. The conditional distribution of $X_{1}, X_{2}$, given $Y$ is a multivariate Gaussian distribution so that $P(X_{1}, X_{0}\mid Y=y)\sim \mathcal{N}(\mu_{y},\Sigma)$, with $y\in\{0,1\}$. Notice that the covarianc... |
Lets assume that I am comparing pre intervention weight and post intervention weight of the participant (paired data). From Wilcoxon Matched-Pairs Signed-Ranks Test I and got p-value 0.03. Am I understand correctly that I should report in results "median of paired difference" like this:
The result of Wilcoxon Matched-... |
I am using the neuralnet package in R, and I wish to find out the F-statistic of a model for a particular regression fit.
I have gone through this link, where they tell you the method to find the F - statistic for a linear regression.
For a neural network, the training and test data are first separated. Subsequently, t... |
Regarding
https://cs231n.github.io/convolutional-networks/
It says:
Each of these conversions could in practice involve manipulating (e.g. reshaping) the weight matrix W in each FC layer into CONV layer filters. It turns out that this conversion allows us to “slide” the original ConvNet very efficiently across many sp... |
Imagine the following scenario:
A population cohort (assume no or equal sampling weights) of say 10000 people had various demographics and health factors measured at baseline $X_{base}$(with some missing data). At a later timepoint all cohort members were asked a follow-up questionnaire which included further factors $... |
Let X and Y be two independent random variables. Then $\sigma_{XY} = 0$.
Proof: $ Let \ $f(x,y)$ \ be\ their \ joint \ distribution \ formula. \ Then \ \\ \sigma_{XY} = E[(X-\mu_X)\cdot(Y-\mu_Y)] = \int_{-\infty}^{\infty}\int_{-\infty}^{\infty}(x-\mu_x)\cdot(y-\mu_y)\cdot f(x,y)\ dx \ dy\ \\ = \int_{-\infty}^{\infty}(x... |
I have been having a difficult time finding out if my random forest classifier is actually properly designed. I have built a random forest model, however the observations I have used are not independent i.e., they come from a repeat measures study. For example, I have 20 observations but those 20 observations actually ... |
Unlike linear regression that only fit if the dataset vizualisation looks like linear line.
So what I mean with universal regression is regardless dataset visualization will be linear, polynomial, or exponential, the universal regression will auto detect it.
For example, if the dataset vizualisation looks like quadrati... |
I want to compare two situations.
Consider an experiment with two settings with treatment, one in which I block subjects by factor $A$ and the other one in which I do not block. I would be interested in estimating treatment effect. Under blocking(mixed effect model), the estimated treatment will normally have smaller ... |
I was hoping someone could help me verify my understanding about solving for a system of equations iteratively.
I have a square symmetric, positive-definite matrix $A$ and a vector $b$ and I want to try and find the $x$ that minimizes this equation.
The system is small enough that I can solve directly (but this will n... |
I have a dataset with $10^3$ to $10^4$ observations, where each observation consists of a single (scalar) response variable $y$ and $N \approx 10^2$ explanatory variables $X_1, ..., X_n$. All the explanatory variables are categorical (say belonging to categories "A", "B", or "C"), so I represent each one of them with a... |
Given that $(X,Y)\sim N(0,0,\sigma_1^2,\sigma_2^2,\rho)$, I want to calculate $Var(X(X+Y))$. Here's what I've done so far:
$Var(X^2+XY)=E(X^2(Y+X)^2)-(E(X(Y+X))^2$
$=Cov(X^2,(X+Y)^2)+(Var(X)+(E(X))^2)(Var(X+Y)+(E(X+Y))^2)-[Cov(X,X+Y)+E(X)E(X+Y)]^2$
in which $Var(X),E(X)$ already known. $E(X+Y)$,$Var(X+Y),Cov(X,Y)$ are ... |
I have a set of digital audio assets which have been tagged by two separate parties, using two separate tag taxonomies - say Taxonomy A and Taxonomy B. I am looking into the feasibility of using these two datasets to predict what a new asset’s tags would be in Taxonomy B given its tags in Taxonomy A.
I’ve been doing a ... |
I am trying to build a lmer model of my study comparing performance accuracies of bilinguals and monolinguals on a memory task. My dependent variable is the accuracy of correct trials and independent ones are language group, number of trials, as well as age and gender. I do not know if age and gender should be random o... |
It is clear that in the case of neural-networks-based models, we rely on continuity assumption of the underlying function $f$ that we are trying to approximate with our network given the universal approximation t. What I'm wondering about is, for other ML algorithms (e.g. Random Forest), do we still rely on the assumpt... |
I am using a commonly used, validated scale on positive and negative affect. If I want to look at the effect of the negative items in isolation, does the subscale I make of the negative items need to be validated again? If so, how do I do this please? I can only find information on full scale development and validation... |
The Wilcoxon signed rank test is a nonparametric version of the t-test. That is, it converts parametric values, which may be non-normally distributed into EDIT for Glen_B more normally distributed signed ranks; e.g., from Harrell and Slaughter "Biostatistics for Biomedical Research" (BBR) 7.2 We look up |z| against the... |
The models are trained using the same dataset.
I know these criterions can be use to do model selection for nested features. Suppose model 1 has feature A,B,C, model 2 has feature B,C,D, I can use these criterion for model comparison. But what if I have models of A, B, C, can I use BIC to compare to model with features... |
I am currently examining measurement invariance in lavaan. I create my unconstrained model. Then I apply constrains to loadings and loadings+intercepts. I use the WLSMV estimator. The following pattern in the results is replicated with the DWLS estimator without mean and variance adjusted. (ordered=TRUE argument in one... |
These predictors are highly correlated.
In another (significant) model, when the predictors are ran separately, one of them accounted for higher unique variance (around 40%) than the variance accounted for when they were entered together (around 10%). I am also wondering why that is?
|
If we have $k$ categories of a categorical variable, why do we need $k-1$ dummy variables?
For example, if there are 8 categories, why don't we code them as
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1?
Only 3 dummy variables would be needed as opposed to the commonly used $8-1 = 7$ dummy variables.
|
I'm conducting exploratory factor analysis using factanal() function in R.
fit.efa <- factanal(~ x1 + x2 + x3 + x4,
factors = 2, data = df,
cor = F,
na.action = na.omit)
print(fit.efa, digits=2, cutoff=.3, sort=T)
However, when applying factanal() function, I got th... |
In probability theory, I now understand that 'two events are independent' does not mean that 'two events are exclusive' and vice versa.
Now I wonder if the former means the latter is not true, or the latter means the former is not true.
|
TLDR: Use Chebshev inequality to derive MLE parameter expressions in case where distribution is unknown, but first and second-order moments are. Is it possible?
Let $X=f(\theta ; x )$ be a stochastic random process that is function of the deterministic parameter $\theta$, while $x$ is the stochastic variable. We don't ... |
I just learned that for $X_1, \ldots X_n \sim N(\mu, \sigma^2)$ i.i.d, the sample variance $\frac{1}{n-1} \sum_{i=1}^n (X_i - \bar X)^2$ is unbiased, and it is in fact UMVUE.
However, it is not admissible, since $\frac{1}{n+1} \sum_{i=1}^n (X_i - \bar X)^2$ minimizes the squared error risk.
So why is it that we use $\f... |
For a supervised machine learning application where the input features can be readily calculated and the corresponding labels are the result of a somewhat time-consuming simulation using the inputs, it is advantageous to "craft" the best dataset with the fewest data. We have several ideas to this end, a few are:
Use u... |
Suppose we have $10$ observations and we run $20$ trials. A two-sided binomial test with $H_0:p=0.4$ from R I get is
binom.test(x=10, n = 20, p = 0.4, alternative = c("two.sided"))
Exact binomial test
data: 10 and 20
number of successes = 10, number of trials = 20, p-value = 0.3703
alternative hypothesis: true probab... |
I want to explain my second-semester psychology students why we have sample-SNRs (Signal to Noise Ratios) all over the place (t, z, F, Chi²). They are also called statistical test values. But we have nothing like that for the binomial test. At least not an exact one. We only have z as an approximation.
My students are ... |
I performed monte carlo simulation for various sample sizes with exponential distribution.
I set "allowed deviation from population mean" as $5\%$. I iterated $1E5$ times for each sample size. I performed for various rate (or mu) parameters and observed the table below:
Independent of the rate (or mu) parameter value,
... |
I have problems understanding data augmentation. I currently have low-dimension features, each data point only has 3 features. A total of 20k non-linear data with only 3 features. I have generated about 120 additional features from statistical values (e.g. mean, var, std). Is generating statistical values called data a... |
I have conducted a controlled experiment with the goal to determine whether an educational intervention improves the students' performance and self-assessment of their skills. Students from the same course performed a pre-test that on the one hand produces a score and their own assessment of their skills (in a category... |
My dataset is currently longitudinal (i.e. each day for each city represents a data observation) but I will reshape it so that each of the 15 days that the model is going to use will be covariates/independent variables. Hence each row represents a trainable observation encoding the last 15 days of data up to that day.
... |
I'm training a classifier with a binary target variable.
My data is unbalanced. The problem is that the training data (split into train, val, and test sets) is more balanced than the real data (the data in production). there are some reasons for that:
I manually added more positive observations to the train set, so th... |
Im am running a fishers exact test on some data but im unsure of how the input contingency table should be formatted.
Option 1
1 2 3 4 5 6 7
1 0 5 0 18 1 0 7
2 5 2 0 15 1 0 9
3 0 0 0 2 0 0 1
4 18 15 2 46 25 0 27
5 1 1 0 25 10 0 7
6 0 0 0 0 0 0 0
7 7 9 1 27 7 0 12
or Option 2
1 2 3 ... |
I'm trying to see if a new variable adding in a prediction model is better than the old model.
Therefore I've made 3 cox regression models, based on backwards stepwise regression.
So I got models:
Variables X,Y
Variables Q,Z
Variables X,Y,Q,Z
To compare the additive value of Q and Z on top of X and Y, I had a look at... |
As a non-statistician, I am interested in understanding whether model evaluation should be conducted with the measured values on the x-axis and modelled (or predicted) values on the y-axis, or vice versa.
For context, I am teaching a university course on environmental modelling. One of the practicals utilises measured ... |
I'm getting a warning message (Warning: no valid starting value for precision parameter found, using 1 instead) while fitting a beta regression model using betareg::betareg. What does it mean? Is that something of concern? My response variable is positive, continuous with values between 0 & 1. Thanks for any assistance... |
Assume that we have a dataset that is structured in the following manner:
Features are numeric and target is a class from $0$ to $11$. The objective is to assign each row to one of the available classes, predicting for a new unseen group.
What differentiates this case from standard multi-class classification is that t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.