instruction stringlengths 9 38.7k |
|---|
According to one study by Wang and colleagues (2013), smoking cigars has “a positive and independent” effect on testosterone. What is an independent effect and what is the significance of one?
|
I understand that random forests yield better performance than standard decision trees, but are less interpretable, because they do not generate a single tree. In this question, several users provided models that approximate a random forest using a single decision tree. A limitation with these approaches is that they r... |
I'm using answers to a specific question from the General Social Survey ("do you feel rushed"?) to compare statistics over multiple years.
The answers are "Always" "Sometimes" "Never" and "Not applicable"
I'm using statistical weights to make sure the findings are representation:
general_social_survey_american_1982 = g... |
I'm currently working on data augmentation to my regression problem, and a (possible) solution that came to my mind was to add a perturbed dataset to the original dataset, and hence double the training samples. Here what I've done:
for a feature $X$, with $n$ samples and standard deviation $sigma_X$, I generated some n... |
In Iterative Reweighted Least Squares (IRLS) algorithm, an optimization problem with the weight treated as known is solved in each iteration during solving the main optimization problem. For instance, when solving $\min Q(\beta,V(\beta,\gamma))=\min(y-X\beta)'V(\beta,\gamma)(y-X\beta)$, the IRLS solves $\min Q(\beta,V(... |
Suppose we have an estimator $\hat\mu$ of population parameter $\mu$ and we know that
$$\sqrt{N}(\hat\mu-\mu)\overset{d}{\to}N(0,1).$$
We are interested in the following hypothesis scheme:
$$H_0: \mu=0$$
$$H_1: \mu\ne0$$
Suppose that $\mu=\delta$ for some arbitrarily small $\delta>0$. I need to show that the probabilit... |
LFC shrinkage used to be default in the DESEQ function but it was updated, because it is not always recommended to do. But i cannot find much information on which conditions this is decided.
Are there any conditions I can check first?
Context: I am looking at differential abundance of bacterial ASV's between infected a... |
I'm just starting to learn about CNN (convolutional neural networks). Does the test data also need to be divided into batches, similar to how it's done with the training data?
|
I'm currently studying posterior distribution with likelihood $y|\theta \sim B(n,\theta)$ and mixture of prior distribution $\theta \sim \pi Beta(\alpha_1, \beta_1) + (1-\pi)Beta(\alpha_2, \beta_2)$. The posterior distribution is as follows:
$$
\begin{aligned}
p(\theta|y) & \propto \theta^y (1-\theta)^{n-y} \{\pi\frac{... |
How to calculate the following multivariate probability mass function:
$P(X_1-X = n, X_2-X = n, ..., X_{N-1}-X = n)$
Where $n$ and $N$ are positive integers, and $X_i$ and $X$ are iid random variables with the following discrete probability distribution:
$P(i)=\frac{C_{i-1}}{2^{2i-1}}$; $C_{i}$ are Catalan numbers.
Lo... |
Thank you for the opportunity to ask this question. Since I do not speak fluently (still learning) the language of mathematics, I explain this in plain English. I understand this is too ideal but I hope it's sufficient.
Explain data: The data in the example is the distribution of failure rate (the "p") across time (the... |
I have plotted about 40 000 polygons (topographic depression dataset data) according to their area and volume (see plot below) by the code below:
ggplot(data, aes(x = area, y = volume)) +
geom_point(shape = 1, size = 1.5)+
scale_x_log10(breaks = c(1000, 10000, 100000, 1000000, 10000000), labels = c("1000", "10000",... |
Scenario:
I'm training a relatively simple neural network to classify pairs of tabular datapoints (~150k), lets say drugs and diseases, whether they are related (positive) or not (negative). As I only have a list of related pairs, I first split my data to train and test sets. Then, for each pair in my train set, I rand... |
I am trying to understand theory from my Model Identification And Data Analysis course at University.
The example I am referring to is the probability of predicting a heart attack. Essentially, from my dataset Dn I take information such as age, cholesterol level, activity level etc etc and I feed them to my ideal funct... |
Suppose we have the following model of our environment:
$\hat{y}_t = e^{dayofweekeffect} * x_{1, t}^{\beta_0} * x_{2, t}^{\beta_1}$
which we can linearize into: $log(\hat{y}_t)= dayofweekeffect + \beta_0 * log(x_{1, t}) + \beta_1 * log(x_{2, t})$
To imagine this, lets assume that $y$ consists of daily sales and $x_{1, ... |
Attention, as long as gradient calculations care, is two nested tensor multiplications and a softmax. I thought that, then, multi-head attention with $h=8$ and $d_k=64$ results in the same tensor with single-head attention with $d_k = 512$, when same projection at the end of multi-head also applied. Below is my justifi... |
I am conducting a study to analyze the impact of a specific policy on the number of businesses in each region. The policy was implemented in a staggered manner across different regions, and I'm utilizing two different regression models, using flow or stock of businesses, to understand its implications.
Model I: flow va... |
I was planning on learning probabilistic forecasting and im completely lost. Suggest some online resources. I have started with Probabilistic Forecasting and Bayesian Data Assimilation but its a bit too advanced for me.
|
Typically, distributions with fat tails, such as the inverse Gamma or the half-Cauchy are used as prior distributions for the variance parameters.
I am trying to understand why do we need a fat-tailed prior for variances. For example, one could simply use a half-normal prior for the variances. What property of the vari... |
I have 2 methods / models. I want to compare them using expert human raters so the amount of samples/tests must be small.
I want to figure out which is the better method.
What is a good way of doing this?
Compare directly 1:1? Or just let them rate everything in random order and then see which method wins more often? H... |
I'm having trouble with making my validation metrics go down for the binary_crossentropy and go up for the F1-score and AUC. I've tried tuning my hyper parameters such as the number of latent features of the model (8), the learning rate (0.0075), the lambda in the regularization term (1.2), the the drop out rate (0.4),... |
I have a $N\times P$ random matrix $X$ with i.i.d. coefficients from a standard normalized Gaussian $\mathcal{N}(0, 1)$. The corresponding Wishart matrix is
$$W = \frac{1}{P}X X^{\top}$$
Calculating the expectation value of this gives me
$$\mathbb{E}W \propto \mathbb{1}_N$$
I'm currently dealing with a problem where I'... |
Empirically, we have seen that VAEs can approximate very complex distributions. I am interested in knowing if there are any theoretical results showing how expressive latent variable models can be. For instance, are there any results showing that a particular class of latent variable models (say one with the assumption... |
I am building a model to forecast some metrics. Those metrics are quite seasonal giving me good forecasts as shown below:
However, some new requirements dictate that I target those forecasts per groups. Those group can be per country, per company, etc. As you guessed, not all subgroups are able to be forecasted. Some ... |
Suppose we have three sequences of random variables, $(Y_n)_n$, $(W_n)_n$, and $(X_n)_n$ such that:
If $Y_n=a$, then $X_n=b$. If $X_n=b$, then $W_n=c$. That is
$$
1_{[Y_n=a]}\leq 1_{[X_n=b]}\leq 1_{[W_n=c]}
$$
for all $n=1,2,\dots$, where $a,b,c$ are real numbers.
$(1_{[Y_n=a]})_n$ are i.i.d.; $(1_{[W_n=c]})_n$ ar... |
I am developing an R shiny app that contains more than 1,000 variables as choices for the user. It plots a choropleth map and an histogram. However for many of those, the visual information is helpless since data are extremely skewed. I tried to find criteria to apply log scale automatically when it is appropriate, but... |
This question is currently making my head spin, and I haven't been able to find a discussion on it so far:
Suppose I am interested in the effect of an intervention, such as a healthcare reform, on a monetary outcome, for example, healthcare expenditure in Euros. My pre-period is 2014, and my post-period is 2016.
In a d... |
I'm working on a dataset of bird electrocutions. There are 300 instances of electrocuted birds and I have a range of environmental data that I want to input as my predictor variables. The aim is to see which of these, if any, is useful at explaining whether a bird gets killed.
Because this is presence-only data my idea... |
I have been delving into non-parametric tests recently, and I've come to realize that most of these tests offer only a partial perspective.
For example, lets say the underlying distribution is $\theta$ and we have a sub-region $R$ in the total space of distributions of concern $\Theta$ (e.g. $R$ being the parameter spa... |
Using a dataframe which looks like this (with 3 raws per "id"):
data_rt = data.frame (id = c("sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f","sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f","sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f"),
group = c("group1", "group2","group3", "group1", "group2","g... |
I have a dataset with 10,000 patients, and for each patient, I have the following information:
Biological sex (male/female)
Baseline age (age at the time the patient joined the study)
Age at the event of interest or age at the end of the follow-up period
An event column (1/0) indicating whether the event occurred or n... |
The response variable in the dataset is highly skewed with a "ceiling effect". The errors of a fitted regression model, will thus also be skewed. I tried to fit a regression but as expected errors were not normally distributed. I doubt that transformation will help much.
The dependent variable (DV) ranges from 1 (not... |
Scores on the Sexual Attitudes and Beliefs Survey in this sample will be significantly higher, indicating less comfort, than scores in the published national sample collected by Tennille et al. (2022).
|
I'm using the R package candisc to perform canonical correlations.
Since my dataset has missing values (only 36 rows without any NAs out of 88 rows total), I have two options:
I can use the raw dataset as is and run cancor(..., use = "complete.obs",...)
I can delete rows with missing values in the dataset and then sim... |
I have run a latent growth curve model in R using lavaan and got the below warning. It would be good to hear suggestions on how to resolve this warning. The full output is below.
Note that I dummy-coded one covariate (i.e., employment). However, removing one of the dummy coded variables (i.e., FTvUN_w0) seems to lead t... |
My data consist ~130 observations. Each observation has several thousand features (including many collinear or otherwise useless features) and a position along a single spatial dimension. Some sets of features vary linearly with the spatial axis and I have had success selecting the spatially sensitive features with a l... |
I have a group of >10,000 right-censored survival cases, composed of a large number of small batches, with 1 to 7 cases in each batch. Failure rate overall is low, with 95% survival at maximum time. I would like to determine the effect of batch on survival, i.e. whether some batches are more predisposed to failure th... |
I have little statistical experience, but am helping to run a community needs survey for my organization. Many of the questions have a yes/no or multiple choice answer format. For example, "Do you have health insurance?" and if they aren't yes no, they are multiple choice "Why don't you have health insurance?" "1) Can'... |
I'm interested in modifications of Kendall queueing networks where agents in the network can be arbitrarily (according to a distribution or a deterministic function) moved from one part of the network to another part of the network. I try to provide some examples below to explain what I mean.
Examples
Redirected While ... |
So I'm working on my dissertation and I'm trying to figure out a binary logistic regression power analysis to show how many participants I should collect. My proposed analysis is as follows and the range of sample sizes I've gotten. My question is, am I doing this correctly using R and if not, where would you suggest m... |
Alice and Bob play the game - the rules of the game are not important, and after 8 rounds Alice has 5 points and Bob has 3 points. Every round one of 2 players gets 1 point and the winner of the game is the one who gets 6 points first.
What is expected probability of Alice winning the game considering:
Frequenstist ap... |
One sample test statistics (i.e. for null hypotheses about the relationship between a population quantity and some constant term) can be inverted straightforwardly to produce a confidence interval for that relationship.
Two sample test statistics (i.e. for null hypotheses about the relationship between two population q... |
From my understanding the only difference between MSE and LSE is that with MSE you divide the sum of squared errors by the total number of values to get an average rather than just using the sum.
This means that when LSE is used as a loss function, the loss will scale up with the batch size.
Isn't that pretty undesirab... |
I am estimating the effect of endogenous X on Y using 2SLS estimator with an instrument variable (Z).
X: Safety net program participation (binary), designed to increase household income
Y: Household income
Z: Generosity of program eligibility
I tested my Z is relevant (passed weak IV test), and I think Z affects Y on... |
If I were to measure some quantitavie metric of a sample population and record its mean, and then I were to split by random selection all members of the population into two groups of equal size and record the means of each group on the same metric. Is their a statistical term/measure of the difference of those means fr... |
Say I have either logistic regression or simple linear regression and I am not sure if I have a moderate number of observations, $n = 40$.
How do I know when to switch to using a non-parametric standard error estimate instead of the Wald intervals? It seems to be we can look at residuals and in particular at the RSS or... |
I am conducting a simulation involving 40 different stores in a specific area. Each store receives a varying number of customers in a given time period. I am calculating the expected final margin and the confidence intervals (CI) for each store over 100 repeated simulations.
My question is: once I have obtained the exp... |
This is an update from my previous question.
I'll put my Model Development code here for your reference:
# Splitting the data into training and testing sets
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# Create a neural network model
model = Sequential()
# Convolutional la... |
I am analysing a range of clinical outcomes for a drug treatment and need to compare the values pre and post treatment - I’m using excel to do this and have found that for most of my outcomes the data is not normally distributed. Sample size is 69 patients - as such id imagine I’m best presenting my results as median a... |
I'm trying to understand the difference between a Monte Carlo simulation vs. a Discrete event simulation. I learned from googling( for eg.: https://bookdown.org/manuele_leonelli/SimBook/types-of-simulations.html) that Monte Carlo simulations are static and do not account for time. However, I know that "time" in Discret... |
I have a dataset I split in training/validation/testing data for a binary classification model. The data is used as following:
Training data: for training the model (model weights, etc.)
Validation data: for model selection
Test data: to report the final results
The validation data is used both for early stopping, as... |
The score test says that we take the derivative of the log-likelihood at $H_0$ and divide it by the fisher information at $H_0$.
$U(\theta )={\frac {\partial \log L(\theta \mid x)}{\partial \theta }}.$
$I(\theta )=-\operatorname {E} \left[\left.{\frac {\partial ^{2}}{\partial \theta ^{2}}}\log f(X;\theta )\,\right|\,\t... |
I am examining a cohort of cases against controls, matched at a 1:5 ratio (on sex, birth year, and residency/postal code at time of diagnosis).
Education level
Cases (n=206)
Controls (n=957)
p-value
Low
10(5%)
81(9%)
?
Mid
78(38%)
398(42%)
?
High
118(57%)
461(48%)
?
I want to examine if the proportions ... |
I would like to use Permutation Feature Importance (PFI) with a set of different models coming from a bootstrap procedure.
I was looking at the algorithm here and was wondering how it can be used when the model is not just one.
$Algorithm$
Compute the reference score $s$ of the model $m$ on data $D$ (for instance the ... |
I have a dataset of 10 people who share the cost of a service at the end of each month. The cost of the service is constant. Is there a fair way to split the cost of the service such that the difference between the maximum and minimum amounts paid is not too large?
This is the dataset that I am referring to:
Thanks in... |
If $(X_n-\mu_n)/\sigma_n\rightarrow_{d} N(0,1)$ (i.e., $X_n$ is $AN(\mu_n,\sigma_n^2)$), I want to show the following two statements:
(1) $X_n$ is $AN(\bar{\mu}_n, \bar{\sigma}_n^2)$ if and only if $\frac{\bar{\sigma}_n}{\sigma_n} \rightarrow 1$ and $\frac{\mu_n - \bar{\mu}_n}{\sigma_n}\rightarrow 0$.
(2) $a_nX_n + b_n... |
I am having difficulty understanding how to interpret a one-unit increase/decrease for continuous variables in a Cox model.
Specifically, I have created the variables gender, age & nationality diversity using the Blau index and coefficient of variation.
So for example, I have a Hazard Ratio of 1.7 for nationality diver... |
Is there a way to analyze the "aggregate" impact of multiple sequential interventions on a time series within the framework of CausalImpact, using the same set of control variables (predictor series) for all interventions?
Imagine that I have three sequential (complementary) interventions occurring one after the other ... |
I am using linear regression to do inference and know how much each predictor affects sales.
In have data for several stores with features and sales during a certain time frame.
There is not much variation in sales in each individual store across time (as sales and all features are quite stable per store). There is a l... |
I'm considering using time series data to compare Spain's and China's economic performance during various years of economic growth. However, I'm wondering if it's valid to compare them when they experienced economic growth in different years.
Regression is about the return to education, and I want to compare the recove... |
I have a group of patients who are subjected to treatment A. I wish to compare the number of events/patient before and after the treatment. The duration of follow up of before and after therapy is different since this is a retrospective study. How do I compare the number of episodes/patient before and after the treatme... |
I study school grades in children with brain tumors (=cases), using databases.
Every case in the database has five healthy controls, matched on sex, birth year and residency. The hypothesis is that cases have worse school grades than controls (this is of course already known, but I will also look at other covariates he... |
This answer to Data normalization for RBF kernel points out that RBF kernel implies Eucledean distance. Are there kernels corresponding to other popular distance/dissimilarity measures, such as Bray-Curtis or Jensen-Shannon? Or could they be easily designed? What are the constraints to take into account (e.g., does Bra... |
Consider a random variables $Y, X, Z$. Denote by $f$ a function of the expectation of $Y$: $ f(x,z) = \mathbb{E} [Y\mid X=x, Z=z]$. Define a marginal function $$g(x) = \mathbb{E} [Y\mid X=x] = \int f(x,z)dF_Z(z).$$
Given an iid sample from $(Y,X,Z)$ of size $n$, we can estimate $f$ by many different machine learning m... |
Suppose I have a continuous variable representing the outcome of a multiplicative process. I measure it using an instrument, but even samples without the process yield numerical readings. I've been subtracting this background, but now I realize it might not make sense since my variable is best modelled multiplicatively... |
I am planning to analyse clustered data with a structural equation model and as I am planning on submitting my project as a registered report, I am first trying to do an in-depth power analysis (it is a secondary registered report, so the data already exist, but I have not analysed them). Since my data are clustered in... |
I have been wondering how the central limit theorem may be useful in Bayesian statistics with potentially misspecified model distribution. Suppose $x$ is a random variable that follows an unknown (and possibly non-normal) population distribution $P_x$. $P_x$ depends on two parameters, the mean $\mu$ and variance $\sigm... |
This is a follow-up question for this post
This question is related to what is written in 19 page of ESL.
We have two statements. The following is a quote from the post.
The one below is the matrix notation of the Least squares equation,
after derivating w.r.t . (eq: 2.6)
$\widehat{\beta} = (\mathbf{X}^{T}\mathbf{X})... |
I know there are a couple posts asking about why we whiten the data for ICA. I understand why we whiten to fix scaling invariants between the sources and to increase the computationally efficiency.
But most answers mention something saying we want to decorrelate our data before running ICA or it should be orthogonal. C... |
Is there a survey or some other resource that goes over commonly used methods for p-hacking in scientific literature?
I can broadly think of three ways -- 1) adjusting dataset, 2) adjusting reported metric, and 3) adjusting distribution of the null hypothesis, looking for more examples.
This is for a talk I'm giving on... |
Both reviewers of my latest article suggested better to work with credible intervals instead confidence intervals. Unfortunately, I am not familiar with Bayesian statistics. Until today, I was (obviously) more in the frequentist world, why I feel completely lost how I can obtain credible intervals from my data. After I... |
I have two separate models that both use the same set of 10 continuous predictor variables.
Model_1 predicts one binary outcome (symptom_1: present vs. not present) and model_2 predicts another binary outcome (symptom_2: present vs. not present).
I am interested in the question if "interactions in general " play a stro... |
I'm currently working on a sample size calculation for an upcoming AB test related to our mobile app. Up until now, I've been dealing with binomial metrics, such as the conversion rate, which is calculated as the number of customers who make a purchase divided by the number of customers who visit the page.
To perform t... |
Can someone help review my analysis below and provide any feedback?
Problem
In a Computer Science class of 30 people comprising of 6 females, is there statistical significance of gender discrimination if only 3 students failed and all 3 were female?
Approach
Since the sample size is relatively small, we can use Fisher'... |
In maximum likleihood, we believe that the y-variable is conditionally normally distributed. So this means that errors are also normally distributed.
In ols regression, things seem to be more algebra/geometry driven. I am trying to fit a line of best fit between some points. I have done this in high school in my vecto... |
I would to understand more on the multivariate and integral representations. I am fascinated by the possibility of a multivariate distribution like this one:
$$\mathbb{P}(X_1 \le Z + a, X_2 \le Z + a, ..., X_n \le Z + a),$$
to be transformed into:
$$\int \limits_{- \infty} ^{+ \infty} {\Phi(z+a)^n \phi(z)dz}.$$
and vic... |
I am conducting a study where I have ordinal categorical outcome variables representing frequency for two distinct periods. My goal is to consolidate the responses from these periods into a single outcome with three categories: decreased, unchanged, and increased.
Given the ordinal nature of this new three-level outcom... |
So I have somewhat of a clustering problem. What you see in the image is a set of points that need to be classified or clustered in six rows. These particular points have already been classified, that is why they are coloured.
The current algorithm is custom made and essentially picks the leftmost point and looks for t... |
While playing around with the formula for covariance, I discovered something I wasn't expecting. Replacing the $E[Y]$ in the definition of covariance with an $E[X]$ appears to simplify back down to the covariance via the alternative formula for covariance.
$$\begin{align}
E[(X-E[X])(Y-E[X])] &= E[XY -E[X]Y -E[X]X + E[X... |
Let's say I want to model children's reading scores as a function of family income, type of school (K-6 or K-8), and an interaction. Therefore my model is
\begin{align}
Y = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + \beta_3 X_1 X_2 + \epsilon
\end{align}
where $X_1$ is for income and $X_2$ is a dummy for school type (baseli... |
Suppose I set up a multiple regression with one continuous variable $X_1$, one (2-level) categorical variable $X_2$, and their interaction $X_1 X_2$.
This will result in four parameter estimates ($\beta_0, \beta_1, \beta_2, \beta_3$) and two different lines with different slopes ($\beta _0$ versus $\beta_0 + \beta_2$) ... |
I am conducting a meta-analysis in the ecology discipline, such as on the effect of elevated CO2 on soil organic carbon. In my case, treatment and control groups have different sample sizes within the same study. For example, in 5 studies, combined control n is 43 and treatment n is 90. So, what will be the sample size... |
I want to investigate the coping strategies employed by households during health shock in Vietnam and India. In place of regular chi square or independent sample t test, I want to use PSM by controlling and matching the covariates. Is it possible? Because most of the literature and articles only use it to compare contr... |
I did one experiment two times with the same subject. I want to find the repeatability of my result. repeatability in a sense is the fraction of behavioural variation that is due to differences between individuals.
Formally, repeatability is r = s A 2 s 2 + s A 2 where s A 2 is the variance among individuals and s2 is ... |
Given a data frame structure similar to the following:
Population_ID Sample_ID Treatment Subject_ID Cells_in_Sample Total_in_Sample Percentage
1 1 patient1_sample1 No patient1 4 630 0.6349206
2 1 patient2_sample1 Yes patient2 ... |
I have selected to compute the Cohen's d effect size for the fixed effects of my linear mixed model. However, it's a little unclear why I'm getting the results I am. First, I am using the method presented by Westfall 2014. Here is an example of the formula:
This is based on the lmer() output. So here is an example of ... |
Say we have some model, $f(x) = \hat{Y}$, such as linear regression, that estimates an output dependent value for some set of input data.
We want to do inference on the coefficients of the model to estimate features' influence on the dependent variable.
We also want to properly evaluate the predictive accuracy of the m... |
I came up to something strange. I know Boruta should select everything that is important.
I have a dataframe of 200 observations and 2000 features. if I shuffle the order of the features in the dataframe, Boruta (Random forrest classifier) will return different important features. I understand the random_state, but if ... |
I have a dataset, $y$, that is on some arbitrary range. I would like to transform this data to be on the range [-1,1]. This is accomplished using a linear transformation, such as the one described here: scale a number between a range
However, I would also like to specify the mean of the re-scaled data, within the range... |
I am running the following code for a ZINB GLMM, using the glmmTMB package in R:
glmm_complex <- glmmTMB(
count ~ group
+ season_cut * group
+ region * group
+ (1 | bird_ID),
data = df_noDT,
family = nbinom2,
ziformula = ~.,
offset = offset,
control = glmmTMBControl(
optimizer = optim,
optArgs... |
I have mice which need to poke a device to receive food across a one hour period. The device records the number of pokes and poke_time which is the duration that the mouse remained in the poke hole. This is recorded for each individual poke. I administered two different treatments to the same mouse on different days so... |
I am studying the best linear predictor part of Conditional Expectation and the Projection part about the regression model.
while we are looking for the Beta that minimizes S(B), I quite do not understand how the first function can be written in the second one:
S(B) = E[(Y-X'B)^2] - first
S(B) = E[Y^2] -2B'E[XY]+B'E... |
This questions seeks for discussion to find theoretical support for normalizing cumulative log-returns vs normalizing log-returns
By "normalizing" (also known as standarizing) I mean it in the statistical sense, where we subtract the mean and divide by the square root of the variance of a random variable, i.e. $$ Z = \... |
I need to evaluate my generative model using FID (Fréchet inception distance). However, the dataset of real images that I have only contains 2719 examples. I've read that the authors of the metric recommend using a minimum sample size of 10,000 to calculate the FID, otherwise the true FID of the generator will be under... |
I have the working out below but is this correct. I just want the posterior distribution of when mu=0 given x.
What I have tried is setting mu=0 after rewriting the first pdf with the summation symbol. Then this allows me to bring the absolute value in the other exponential over. But I am unsure as to whether the jump... |
I need to design a survey such that the margin of error for a binary, categorical variable is bounded at a certain level. The survey needs to be a one or two-stage cluster sample where clusters are of unequal size. For the purposes of this question, let's ignore nonresponse, etc.
Clusters of equal size
When you have cl... |
I have tried reading the documentation in sjPlot but couldn't figure it out.
In a multilevel / hierarchical / mixed-effect model, ran with lme4 in R, the summary() output give an estimated variance and standard deviation for each random effect.
I wanted to plot this variance by level of one of my random intercepts (sti... |
Cities are getting hotter due to climate change. I want to communicate this intuitively through a concept of 'city climate twins': ie. which other city will my city's climate resemble several decades from now?
Available data:
(1) monthly average temperatures for a set of global cities: present-day reference period (eg.... |
Assume a simple example motivating a causal research design. Say that I collect a data set on rural counties in Texas and I wish to understand if rainfall causes a change in crop sales. Working with this observational data, I run a regression, conditioning on a necessary adjustment set (to the best of my capability) an... |
In section 4.4.5 "Logistic regression or LDA?" of Elements of Statistical Learning by Friedman, Tibshirani and Hastie, it is claimed the following:
From the mixture formulation [that is, equation 4.38], it is clear that even observations without class labels have information about the parameters. Often it is expensive... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.