instruction stringlengths 9 38.7k |
|---|
Are there accepted techniques for selecting variables in causal inference (not prediction) where the number of variables exceeds our sample size, making a standard OLS regression impossible?
Assume treatment, outcome, and covariate variables have been carefully selected with a causal diagram, based on subject area know... |
I'm trying to understand the main appeal of Bayesian methods & whether they are indeed capable of offering more than regular frequentist methods. The thing is my impression is that by default the prior should be 'uninformative' (i.e. Objective Bayesian movement). And I've heard doing this gives you similar results to f... |
I am trying to make a classifier that predicts whether a patient is diabetic or not. I am working on this data set. While doing EDA, I found that in the column of smoking_history, 32887 rows out of 100000 rows have the value no_info (the distribution is shown below). How should I deal with this category in order not to... |
Lets Y= f(X)+ ε be our model , we assume that f(X) is linear with this form B0+B1X and ε is a random variable with mean=0 and std σ
i have read that the estimation of this standard deviation is RSE.
RSE = (RSS/n-2)^1/2
how do we came up with this estimation ?
|
Hello I was reading about no pooling and partial pooling.
I understoond that a mixed model is using partial pooling approach when we talking about hierarchical data.
Is it correct to say that fixed effect model is using no pooling approach?
|
I am planning to do a joint model for longitudinal and survival data, with multiple time-dependent/time-varying continuous variables.
However, I am having trouble re-formatting my dataset to be in a long format.
My data currently includes the following relevant variables:
Study ID
Follow up A – Number of days to the ... |
I am modelling a tabular dataset and getting better results with a DNN than XGB or linear regression models. The literature tells me this shouldn't be the case. Are there any specific instances when DNNs should outperform gradient boosted decision trees and/or regression methods? These data have a large number of highl... |
I'm working with some observational data and wanted to assess the effect of variable (D) on outcome (Y) after controlling for a vector of covariates (X). As the data is observational, I wanted account for as much selection as possible, so I employed (augmented) inverse probability of treatment weighting. After doing so... |
I have 2 nominal independent variables (2*2 design), and 1 binary (yes/no) dependent variable. I want to see if is there a significant difference between the numbers of No in these 4 conditions. What analysis should I use?
|
By reviewing the existing relevant questions I could not find the answer to this specific question.
I have created blocking variables with the one-hot method (n - 1 binary variables for n categorical variables corresponding to different sources of data). Then I performed LASSO regression with cross-validation on my dat... |
Background
The almost-disjoint gap (ADG) is given by
$$\mathcal{D}_{\mu} \left( E_1, \ldots, E_n \right) \triangleq \mu \left( \bigcup_{k=1}^{n} E_k \right) - \sum_{k=1}^n \mu \left( E_k \right)$$
where $\mu$ is a measure and $\{ E_k \}_{k=1}^n$ are elements of a suitable $\sigma$-algebra. When the ADG equals zero we k... |
I am doing a study using Statistical Process Control and have to calculate the standard deviation. I am aware of a number of ways to do this.
The first method is using the sum of squares (classic method).
The second method is using the sum of squares but the denominator is replaced by n-1.
The third method is using the... |
My coworker and I were discussing this. He insists that PCA only makes sense just when you know at least one variable is linear combination of the rest but I think it can be applied whenever there are variables that are dependent on the rest, not necessarily through a linear relationship.
|
I'm working on my masters dissertation. Please help me this is my very first ever quantitative research and my submission deadline is very soon and my brain is literally melting into soup :(
1- Data skewness and normal distribution
I have two categorial nominal variables which is gender and Instagram usage frequency, b... |
I am reading the double-machine learning paper by Chernozhukov et al. (2018), in Example 1.1. the authors consider the partially linear model:
$$Y = D \theta_0 + g_0(X) + U, E[U|X, D] = 0\\ D = m_0(X) + V, E[V|X] = 0$$
and then they're saying:
"A naive approach to estimation of $\theta_0$ using ML methods would
be, for... |
I want to perform a multilevel glm model. I have a continuous non-negative outcome variable (not count data), with many 1 values, second most common value at zero, and then a right tail of positive values (picture attached below).
I assume that tweedie distribution is the most suitable distribution for my data. Am I ri... |
I am trying to calculate the sample size for my next experiment.
I have done a pilot study with 16 participants and made a mixed model using lme4 as below.
m <- lmer(choice ~ I_D_gen + (A + B + C |sub), data = df)
Here, 'choice' is binomial(1,0), IE is continuous, and all random effects are condition informations cons... |
My SARIMA gives the following result but my acf and pacf plot shows a different story. Is it because of heteroskadiscity of the model also my model has a seasonality of 365 days how do I handle it?
|
Suppose I have hormone levels from multiple subjects over a 24 hour period. I know that the underlying hormone level is periodic - eg the hormone is gradually released every 60 minutes, leading to a peak and then a trough. And this pattern should be pretty much the same for each subject. However, the magnitude of the p... |
Let's be straightforward to my case. I'm building a matchmaking system where it produces groups of players. Each player has a weight that is obtained from his/her skill and experience. A group is good if it has low difference among its members' weights (meaning their weights are close to one another). I calculate the w... |
I have a Cox model with time dependent variables as follows, where ibd is a categorical variable with 3 levels.
However, I am not sure why there is a NA for regression coefficient in the last level of "ibd". When I reorder the levels, it is still the third level that is NA.
Call:
coxph(formula = Surv(adm_start, adm_end... |
I am making S-N curves and I have trouble.
Assume I have a formula
$S=f(2N)^b,$ where $f$ and $b$ are constants for which I want to calculate PI and CI, $2N$ is a dependent variable, $S$ is independent.
Measured data is in log log distribution.
Standard procedure is to use linear regression in form Y=b0*X+b1 so after l... |
###############################
# Zivot-Andrews Unit Root Test #
################################
Call:
lm(formula = testmat)
Residuals:
Min 1Q Median 3Q Max
-4626 -835 -11 877 4014
Coefficients:
Estimate Std. Error value Pr(>|t|)
(Intercept) -78.2937 150.3974 -0.5... |
Is there any known activation function that is like a leaky ReLU but also has its growth capped at the top once it reaches one through linear growth? I mean something like this.
I need this for performing a comparison (checking if one element is smaller than the other, 1 if true, 0 if not), but I don't want the gradie... |
I want to use the Bayesian Information Criterion in order to measure how well a gaussian and 0 order polynomial fit (using python), the one with the lowest BIC should then be the 'best fit' ?
My parameters are already known by using scipy.curve_fit, then all I should have to do is determine $\mathcal{L}$ the maximum of... |
I am struggling with understanding the result of FFT in R. I have 729 observations, two years data. In the data I simulated there were more visitors every sunday.
I divided 729/7 which is approximately 104. And there was a peak indeed, but also two others, which I didn't get. I see that they are at possitions ~104 x 2 ... |
Question summary
I recently came across the idea that reconstruction and retrieval are two opposing objectives. In particular, optimising a model with regard to a mean squared error (MSE) loss should yield bad retrieval scores, and vice-versa.
I don't understand why this would be the case: to me, optimising a retrieval... |
Assume that I have a matrix $X$ that has the size $m * n$ and a class ID vector with the length $n$.
If I want to apply Kernel Linear Discriminant Analysis (KLDA) onto the matrix $X$ and vector $y$, then I need to use a kernel onto K. For example a linear kernel.
$$K = X*X^T$$
This will turn $K$ into a $m * m$ matris. ... |
I would like some clarification as to if independence as referred to in both of the following cases, is the same or different. I would assume they are different?
Scenario 1: For any SINGLE trial of a random experiment, when P(A|B)=P(A) and P(B)=P(B|A). If when it is given that one happens, it doesn't change probability... |
I'm attempting to derive the covariance between the sample mean for the treatment and control arm of a completely randomized experiment where the units in the experiment, $n$, are a random sample from a larger, but not infinite, population $N$.
Define $A = \frac{1}{n_t} \sum_{i = 1}^{N} y_{i, t} \cdot T_i$ and $B = \fr... |
Suppose I have a uniform distribution $X \sim U[a,1]$ with $a \sim U[c,1]$? How can I characterize the CDF of X?
|
I skimmed through a study: Excess Death Rates for Republican and Democratic Registered Voters in Florida and Ohio During the COVID-19 Pandemic that estimates excess death rates of Democrats and Republicans in Florida and Ohio during the COVID-19 pandemic. In short, this is done by fitting a Poisson regression model to ... |
Recently, I learnt that one can also calculate a p-value for the Pearson correlation coefficient. My question is not about computation of this p-value. (Based on what I read from other posts, we first calculate the t-statistic and then convert it to the p-value.) I would like to ask about the meaning of this value beca... |
I tried the following syntax:
MTX0 <- '
# First-order factors
StwR1t0_latent =~ S1pR1t0 + S2pR1t0 + S3pR1t0
RtwR1t0_latent =~ R1pR1t0 + R2pR1t0
TtwR1t0_latent =~ T1pR1t0 + T2pR1t0 + T3pR1t0 + T4pR1t0
GtwR1t0_latent =~ G1pR1t0 + G2pR1t0 + G3pR1t0
# Second-order factor
MuTex =~ StwR1t0_latent + RtwR1t0_latent + TtwR1t... |
I am learning about time series decomposition using the X-11 method in R. I am following the book “Forecasting: Principles and Practice (3rd ed)” by Rob J Hyndman and George Athanasopoulos, which uses the seasonal package to perform seasonal adjustment.
I have a question about the seasonal component obtained from the X... |
I was wondering if someone can help with explaining Functional Principal Component Scores?
I am working with a dataset which reflects participants in a weight loss management trial (longitudinal data). The dataset consists of 1139 participants and four observations of weight (sparse data). The observations of weight we... |
I would like to analyse whether measures A, B, and C have a different influence on a measure D compared to a measure X on D. My exploratory hypothesis is that A, B, or C could influence Z negatively while X positively influences Z.
Additionally, I need to account for covariates. While the most obvious way would be to c... |
I was recently asked why I haven't analysed interactions in my (predictive) regression model (I understood "interactions" here to mean products of predictor variables). The easy answer is that I had no reason to suspect interactions. But, more deeply, I wonder why interactions are so special? They are simply non-linear... |
I want to simulate a dataset whereby I have a continuous variable that represents a response to treatment (normally distributed). The dataset should also include sex (50:50) and age (normally distributed) when starting treatment.
I want to create the dataset such that:
If I perform a linear regression on sex or age ac... |
I am working with a medical clinic to develop a residency program for certified medical assistants (CMAs). The clinic would eventually like to know whether the residency program is successful in reducing turnover among CMAs. The turnover rates of CMAs who did not complete the residency program will be compared to those... |
A rather basic question, prefaced by the fact that I know just enough about statistics to be dangerous.
I work with Air Force Technical Training. I am trying to compare the ebb and flow of students in a particular course throughout the year with the average number of students in that course per day. Sometimes the actu... |
Suppose I fit data according to the following piecewise exponential model. So that the intensity is 1/50 for event times in the first 50 days and then 1/200 subsequently.
library(survival)
set.seed(123)
x <- rexp(100, 1/50)
x[x > 50] <- 50 + rexp(sum(x > 50), 1/200)
plot(survfit(Surv(x) ~1), conf.int = F)
I find I ... |
If I have the following regression model:
Where stock price is continuous dependent variable and earnings is a sole continuous independent variable.
Earnings extremity is a categorical variable (three categories: small extremity, moderate extremity and large extremity), earning extremity1 = 1 if moderate extremity and ... |
Are there independent random variables $X$ and $Y$ such that the distribution for $Z = X^2 - Y^2$, is $Z \sim N(0, 1)$?
|
Problem: Suppose we have a population of size $m$ and we're taking simple random samples (without replacement) of size $n$. Let's denote the mean of the entire population by $\mu$. Assume we take $k$ such samples and calculate their means $\mu_1, \dots, \mu_k$. Calculate the standard deviation of the observed sample me... |
I'm new to GAMs and running some univariate and multivariate models in R with mgcv. I'm struggling to understand differences in model output between the uni and mulivariate.
Ex: A plot for a univariate GAM.
gam(effect ~s(percent_precip_min_pe_day_smallgrid_precip_FALL, k=4), data=input_data, method="REML")
And this i... |
I am currently analyzing data using a growth curve model, and I have one question that puzzles me. I wonder why the intercept values keep changing when I add random effects or higher-order terms to the model. Moreover, in some cases, an intercept from a growth curve analysis becomes negative, even though it is clearly ... |
I have a limited set of repeated experimental values, roughly 100. The original experiments are expensive, so creating more data points in not an option.
If I use bootstrapping to estimate the mean and std error, then each bootstrap iteration samples abut 63% of the data elements, repeating those to fill in the N data ... |
Reading the causality literature, we see the concepts of "interventional" and "counterfactual" query as well as "interventional" and "counterfactual" distribution mentioned frequently without any explanation of how these concepts are related and/or different.
For example, see these resources:
https://www.nature.com/ar... |
I am trying to rewrite the demonstration given in Bishop's book: Pattern Recognition and
Machine Learning (2009)
I reproduce the figure (page 149) in which I am unclear about the step leading from (3.39) to (3.40) and described with this judgment: "We now take the expectation of this expression with respect to D and n... |
I am currently writing my master thesis an the effect of academic publication on anomaly returns. The idea is that in finance literature anomaly - factors/portfolios are proposed. After the factor is published in a journal the time series of the returns of the factor, which was positive before, decreases significantly.... |
I am working on power analysis for a project. I want to benchmark effect size from another study. How can I find the effect size (Cohen's d) just by looking at the regression table below? For instance, how would you calculate the effect size from the regression table below:
---------------------------------------------... |
I'm newcomer in statistic so I'll ask probably stupid question: if normally distributed observation required to use t-test, why couldn't be used z-statistic and subsequent calculation of probability?
I mean, our observations came from $N(0, 1)$, so why it must use some strange terrific t-distribution, when using normal... |
A couple decides to keep having children until they have the same number of boys and girls, and then stop. Assume they never have twins, that the "trials" are independent with probability 1/2 of a boy, and that they are fertile enough to keep producing children indefinitely. What is the expected number of children?
A s... |
I would like to compare the total number of public M&A transactions observed in two separate years (e.g. 2021 vs 2022). Given the data set for each year is complete (i.e. a population), can I simply compare the counts and determine an increase or decrease in activity? Or should I view each count merely as samples of a ... |
I've read several posts related to this, but I'm not sure.
so I'm posting the question in case it's redundant.
I have been conducting an experiment using a within-subject design, comparing three conditions. The collected data is continuous and ranges from 0 to 240 (approximately).
(I used a simulator sickness questionn... |
Originally I ran multilevel regression on to exam how social network properties (SNPs) (e.g. degree, centralities, group size, group centralizations ...) affect individual's productivity outcome.
Now I would like to see if the relationship between the predictors (SNPs) and outcome (productivity) is similar or different... |
I have an $m\times n$ matrix $X$. To apply a Kernel PCA to my $X$ matrix I need to warp it into a function $K = \Phi(X)$.
The problem here is that $K$ get the size $m \times m$. If I'm doing projection with PCA.
% Average
mu = mean(K);
% Center data
Y = K - mu;
% PCA analysis
abort = input(sprintf('The size of the ma... |
In the attached image, the x-axis is the proportion of children at a school who passed at least 5 GCSE exams that year, and the y-axis is a count of the schools. The different colours are whether the school is in a rural or urban area.
I want to do a regression to see how the school being in a rural vs. urban area affe... |
The following R codes produce one graph for time series, while the next chunks of codes produce 8 graphs. Why?
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12, start=c(1946,1))
birthstimeseries
plot.ts(birthstimeseries)
The 2nd chunks of codes:
library(... |
I'm trying to model the relationship between two variables. Without going into details on how I get this expectation, my belief on the relationship between the variables looks like this:
However, as time advances I start to see instances of the true relationship. Early on, I might see something like this, where the or... |
I am working on a small project to optimize the performance of an iron electrocoagulation reactor for water treatment.
My professor wanted me to build a model to predict turbidity removal based on variations in 3 input factors (Charge dosage, Charge Dosage Rate, and Conductivity of water). After some literature review,... |
Is the following M4_regular_matrix time series data? I am a bit confused since The rows indicate locations although the columns consist of time. We actually collected data of every location for 8 different time points.
library(Matrix)
i <- c(1, 3, 8, 4, 2, 7, 6, 9, 1, 4, 10, 5, 11, 2, 12)
j <- c(2, 5, 3, 8, 6, 2, 4, 2... |
I struggle with the following question:
I had to scale variables for model selection as they were in very different units and the model struggled to converge. Now that I have a final model the variables that are left in the model are variables that do actually have the same units.
I would find it much easier to interpr... |
Comparing results from LASSO and robust regression I find that in some cases variables with high magnitude coefficients in robust regresison are shrunk to 0 in LASSO.
Any intuition here? Coefficients below.
lasso_s0
rlm_coef
variable
0
59.3544
X9132
-0.7579
27.4932
X7729
10.494
20.4771
X7353
0
18.0548
X83... |
I am interested in characterizing the statistical surrogacy condition $Y \perp W | S$ as per the setup in: https://arxiv.org/abs/1603.09326.
Suppose $Y_{i} \in \mathbb{R}$ is the outcome of interest, a surrogate vector $S_{i} \in \mathbb{R}^{K}$ and binary treatment $W_{i} \in \{0,1\}$. Using potential outcomes notatio... |
I am running Causal Inference to determine whether the mass of a vehicle affects the Co2 emissions. I understand that DoWhy follows a particular structure that is modeling-> identification -> estimation -> refutations. I was logging the outputs of each step in Python. I am having trouble understanding and interpreting ... |
Consider the relationships among four variables: sex, activity, height, and weight, as depicted below:
Suppose that weight is the response variable. When sex serves as the predictor, there is no need to control for any covariates. However, when activity is the predictor, we should include both sex and height as covari... |
I am trying to run an ANOVA test in R, but I do not have access to the entire data and only know the means of the three groups.
Here is an example of what my data looks like:
avg_ikdc <- c(49.3, 79.1, 82)
avg_kujala <- c(56.5, 86.5, 89.3)
avg_vas <- c(3.8, 2.5, 1.9)
f_u <- c("pre","short","mid")
combined <- data.frame(... |
I am currently working on my final project CS degree that involves analyzing swimming data, specifically focusing on both heartbeat and motion data. I am looking for a dataset that includes these two types of data together.
I have searched through popular data repositories like Kaggle, UCI Machine Learning Repository, ... |
I have data from a study where participants saw an image and were supposed to judge whether it was an AI generated image or not. The Hypothesis I want to test is if they actually are able to differentiate between AI and human, where my prediction is that they can not really.
My question now is what test I could use for... |
The business question that I am trying to answer is: what group(s) of people have the highest chance of default? The features that I have are income, debt to income ratio, fico, etc. How do I find the right group (assuming that I want to cut ~5 percent of the population).
This is an easy exercise when I only consider 1... |
PCA: For a given set of centered data $\mathscr D =\{x_i\}_{i=1}^N \subset \mathbb R^d$, i.e. the data has $N$ examples with dimension $d$. Then the principal directions of PCA can be obtained from the columns of eigendecomposition V of $X^\top X = V\Lambda V$ such that $V^\top V = I$. But when number of features is to... |
In my application, I am working with a relatively long time series of daily market index percentage returns (many years) and am trying to model the dependence structure of the returns from a pure time series perspective (if there is any) and analyse the probabilistic properties of the residuals after any dependence is ... |
(I actually asked the following question on Stack Overflow recently:
https://stackoverflow.com/questions/76842431/confusion-about-the-code-for-choosing-stumps-in-adaboost-algorithm
but then I realised that a handful of previous questions in the "Adaboost" category of Stack Overflow remain unanswered for a long time, ... |
I am trying to reason to myself why is it that VAEs can approximate arbitrary probability distributions even though $q_{\phi}(z|x)$ and $p_{\theta}(x|z)$ are Gaussian.
I understand that the parameters are typically learned using neural networks $\phi = f_{w}(x)$ and $\theta = g_{w}(z)$, where $f$ and $g$ denote arbitra... |
I have a survival data on approximately 6 million observations.
The "failure" I'm dealing with is very rare - about 0.5% has the event of interest.
I have three questions:
Can I perform a case-control analysis with Cox regression?
If the answer is yes - do I just need to sample, let's say, 10 controls for each case, a... |
I was always interested how statistics is used to estimate e.g.
Weight of an animal from its foot size
Age of a shark from some measurements in its eyes
Age of a tree
Approximate population of some species
Is there any book/article/tutorial/course/ where can I read more about some examples how these estimates are mad... |
Why
$$\begin{align*}
l(\theta) &= \sum^m_{i=1} \log p(x^{(i)};\theta) \\
&= \sum^m_{i=1} \log \sum_{z(i)} p(x^{(i)},z^{(i)};\theta)
\end{align*}$$
Find this equation from cs229-2018 problem-set3.4(semi-supervised EM)
What is the logic behind this how it becomes two summations?
Where is $z^{(i)}$ come from?
|
I want to test the effect of a suicide prevention film on help-seeking. I have help-seeking intentions as an outcome variable and measured this variable at three time points (pre, post, follow-up) in 40 participants. To analyse the data I would conduct a one-way repeated measures ANOVA and compare mean differences betw... |
I'm currently immersed in a challenging forecasting project centred around predicting the required work hours to complete various tasks within a team setting. My dataset comprises crucial attributes, including team IDs, task IDs, hours, and dates. Specifically, I'm working with a comprehensive dataset containing distin... |
I am reading:
https://www.econstor.eu/bitstream/10419/128519/1/ewp-356.pdf
The footnote on page 19 says:
The trend was derived using the Hodrick-Prescott method where the smoothing parameter λ is set to 1,600. Since
the first two principal component account for about half of variation, half point 0.5 was used as criter... |
I am trying to construct a grid approximation of the probability that an event will occur on the discrete interval 0 - 10, the spacing is 0.01. The probability that any single event on the interval is.
$$
\begin{align}
p(succes|observations) &\sim Binom(n,p)\\
p &\sim Beta(a, b)
\end{align}
$$
Where a = number of times... |
In a forest of 100 Acre, let 10 (1 acre size) plots be the sample.
Inside each plot, one took measurements of total trees and trees diameter.
It is reasonable to think about the number of trees inside each plot (counts).
However, in terms of tree diameter, it is reasonable to think about the average.
The sum of all tre... |
I was going through computer vision lecture video. You can find the pdf of this lecture here.
I was trying to understand how orientation of object corresponds to axis of least second moment aka inertia. Its discussed in above lecture video and page 5 to 7 of the monograph.
Below is my understanding:
Second moment of... |
I currently have 200 observations from different (randomly sampled) participants. For each participant, I have 4 measures: MS1, MS2, MS3, MS4. Each measure is a different binary measure for a biological condition. Such that, 1 = has the condition, 0 = does not have the condition. Given this, it is highly likely that if... |
Consider an (unnormalized) univariate distribution in the exponential family, which is in canonical form: $$\varphi_{\theta}(x)= \exp \bigg( \frac{\theta}{\log x} \bigg)$$ $x\in(0,1).$
$\varphi_{\theta}(x)$ is in the exponential family because it can be written in the form:
$$\varphi_{\theta}(x)= \exp\bigg( \eta(\theta... |
I read a book about statistics and machine learning, and can't understand assertion that: let $P(y) \sim N(y|\mu^*, \Sigma^*)$, i.e. multivariate normal distribution $p(y_1|\mu, \Sigma)$, where $\mu_1 = \Sigma(\Sigma_{11}^{-1}\mu_1 - \Sigma_{12}^{-1}(y_2 - \mu_2))$ and $\Sigma = \Sigma_{11} - \Sigma_{12}\Sigma_{22}^{-1... |
We know that any normal distribution can be transformed into a t-distribution as shown in this post: Transformation of any normal distribution into a standardized t-distribution
My question is can we transform a t-distribution into a normal distribution?
|
I'm running some analyes on a project to understand variations in mortality using a dataset with patient and hospital level variables in Stata 18.
I am looking to calculate the percentage of the variability in outcome explained when by specific group of variables (patient-level, hospital-level).
Here is my model:
logis... |
I am implementing a random forest model using the ranger package.
I know you cannot specify ntree's in the tune grid for caret. I have seen some suggestions to determine the best mtry values and then run another model using the best value to determine the optimal ntrees (e.g. I have also seen some suggestions to run th... |
I'm reading the paper Sparse Sinkhorn Attention by Tay, Yi, et al. and am confused on some of the notation used in Section 3.
At the start of the section, the authors describe block-based attention and introduce a few variables:
In our method,
the input sequence $X$ of length $\ell$ is partitioned into $N_b$
blocks in... |
I have a panel dataset with "id", "year" (1970 to 2000), and "post" a dummy which takes a value=1 if year > 1985. The treatment variable ("treatment") is a continuous variable measured in 1985. A control variable ("control") is a continuous variable measured in 1985. To calculate TWFE I used the following code:
res = f... |
As the title states, I am trying to perform a significance test between two loss value means. To give an exact idea what I want to do: I have used two imputation techniques on the same dataset. One of them serves as the baseline, the other as the potentially better method.
I have 20 loss values per method. This is beca... |
I am working through a paper about grad student "satisfaction" (as measured by a survey), and descriptive statistics are given in a table that looks like this:
The "experience of factors" variables in the bottom half of the table are continuous independent variables under test, and their correlation coefficients are u... |
Suppose you tossed a coin multiple times. Sometimes you got heads and other times you got tails. You recorded your experiment in a dataset $ X$. Now you want to estimate the parameter θ (which represents the probability of a coin landing heads) of the Bernoulli distribution using probabilistic modeling. You want to do ... |
Preliminary
Consider $n$ individuals each with observed data $ Z_i, i = 1, \ldots, n$. For each individual $i$, the longitudinal predictor $Z_i = \{Z_i(t_{i1}), \ldots, Z_i(t_{i,R_i})\}$ is measured at some finite number of observation times $t_i = (t_{i1}, \ldots, t_{i,R_i})$. We can define a finite grid as $\bigcup_{... |
I have a dataset (auc_data) which includes the response variable (y) and the predicted probabilities (y_hat). I have calculated the AUC value based on this data.
You can see that there are 3 rows in the data set which both y and y_hat are exactly zero. I just want to know that if I know the AUC based on "auc_data" dat... |
Introduction
I am thinking about how to estimate the number of individual moose from wildlife camera photos. I have the latitude and longitude position of each observation, along with a datetime of the observation. But unlike mark and recapture methods, we're not marking the moose. It can be quite difficult to tell fro... |
Step 1:
I draw the observation "m" from M~N(0, 1) (i.e. a Normal distribution with mean 0 and variance 1)
Step 2:
Then I draw "x" from N(m, 1) (i.e. a Normal distribution centered in m)
My question:
What is the distribution of "X"? Is it still a Normal (0, 1) ? I honestly don't think so. While I do believe the mean is ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.