instruction stringlengths 9 38.7k |
|---|
I have a prediction problem for which I want to predict the 75% Quantile using Quantile Regression. I am a little bit confused on how to evaluate this model (and also compare different models).
If I understand this approach correctly, for given prediction y_hat the following is true:
With a chance of 75%, the value of... |
I have some questions about using the Residual Sum of Squares (RSS) as a criterion for selecting the best regression model. If we have two models $M_1$ and $M_2$, where $M_1 \subset M_2 $ as in that the variables used for $M_1$ are a subset of the variables used for $M_2$. Then we know that $RSS_2 \leq RSS_1$. (Is this... |
What does that phrase "quantile regression model that predicts the conditional mean" mean? How to interpret that?
I found it in Liu et al. (2020).
The authors have compared the results of linear regression, QRF conditional mean, QRF conditional median, QRF conditional first quantile, and QRF conditional third quantile... |
To fit the question to a problem lets say you have a store in a mall where the rate of customers visiting the store can be modelled as a Poisson Distribution where λ = 3.
Now lets say next month because of an effort by the mall to bring more shoppers to it the effective population of customers within the mall doubles. ... |
I'm not a data scientist, and googling for it lead me to thinking I'm not asking the question correctly. With a high risk of this being closed as duplicate (which will be great, as it will help me find it) or out of scope (less great) my question is:
What is a general rule of thumb for a minimal document size for TFiDF... |
I have question regarding survival analysis. I am looking at observational studies comparing patient survival who received treatments A or B at different centres (>10), for the same condition and have been followed-up for different time periods (between 1 and 10 years). I have the duration of follow-up for all particip... |
I have seen some articles using one method for sample size estimation(two sample comparison for means or proportions) and subsequently using regression analysis/non parametric methods.
If I have a planned test statistics $T$ and planned sample size $n_T$ with appropriate power and confidence, is this going to work for ... |
I am using nlme:gls to model trends. My understanding is that including AR or MA terms allows the model the correlation structure of the residuals rather than affecting the the regression estimates. Indeed, running a model with or without a correlation structure leads (in my case) to similar results.
I also noticed tha... |
I am trying to extend the results of Gendron-Carrier et al. (2022) article published in the American Economic Journal : Applied Economics which is about the effect of subway opening on pollution.
I want to use an estimation method robust to heterogeneous treatment effects (meaning that the effect of subway opening on a... |
Suppose I have a population whose distribution is definitely not normal but both the population and sample size will be large. Is there any way I can prove/ show that the mean of a large enough sample on the population will confidently approximate the mean of the entire population? Is there also a way to calculate the ... |
I'm a statistics beginner and for my research, I'm looking into the effect participants' body image (positive/negative) and an advert model type (thin/plus-sized) have on participants' view of their body image. So it's a 2x2 factorial ANOVA with the dependent variable being their body image difference recorded before a... |
I am trying to estimate the amount of background in some physics data by using MLE to fit a weighted sum of a signal and background distribution to the data where the weights indicate what percentage of the real data is signal or background.
$$\theta f_{Signal} + (1 - \theta) f_{Background} $$
However, I don't really h... |
Let's say that I apply an ML-based algorithm on a dataset, and using F-Score as the evaluation metric, obtain a score on the test set. Now, I have a non-learning based algorithm (say, a genetic algorithm) and I wish to compare it against the ML-based algorithm. What is the right way to do this? Using the same evaluatio... |
I'm looking at creating a model to group similar fonts together. I'm not interested in the content of the fonts (e.g. the words), just the style (thickness of letters, spacing, etc.). My initial idea was to use a similar idea to style transfer and just get the style features, then pass that through some scaling, dimens... |
I have a question about multiple regression
data$x4 <- with(data, x1+x2) #x4=x1+x2
y = b0 + b1x1 + b2x2 + b3x3
mod1 <- y ~ x1 + x2 + x3 + x4
I ran summary(mod1), and the console showed up NA on estimate, std.error, t value, and Pr of x4.
I don't know why I can't obtain output about x4. please let me know the reason... |
I have a dataset with 200 variables. Each row of my data represents the quarter results of a company. I want to know if variable X is linearly related to variable Y.
I computed the correlation matrix without any grouping but now that I think of it seems weird to me. Should I be including any type of grouping and then p... |
I have a question.
I want to calculate a percent change in log(Earnings) if education or experience increases by 1 percent.
I tried it with the following regression in R:
Call:
lm(formula = exp(logearnings) ~ exp(experience + education), data = dat)
Residuals:
Min 1Q Median 3Q Max
-838.34 -286.44 ... |
I'm currently reading the book, "Latent Variable Models".
Today, I've encountered the following.
The pictures are the structural equation model and its solution.
$A_1$ represents the affection measured in time 1, $A_2$ is the affection in time 2.
Similarly, $T_1$, $L_1$, $C_1$, and $D_1$ respectively mean thought, lo... |
Setup
I have:
About fifty values $x_1,…,x_n$ sampled from the same but unknown distribution $X$. I have no useful theoretical insight on the nature of that distribution. Empirically, the distribution is considerably prone to outliers (heavy tail).
A single value $y$ for which I would like to estimate the probability $... |
I am performing an analysis to evaluate the attitude of our marketers toward Apps. I have done the explanatory factor analysis (principal component)and I have received 4 factors (one of my factors is attitude towards app), however I understood that it is not possible to run a regression of the other 3 factors on the de... |
I have 1 million customers, and I'm interested in predicting the revenue generated by each of the them in the following month. Consider two models:
Model A: predict the actual revenue (e.g. in dollars) generated by a given customer
Model B: predict the quantile that the revenue from the given customer falls in among a... |
my group project has a number of independent binary variables x1,x2,...,xm and a dependent binary variable y. My dataset contains some million of rows.
Since there are so many independent variables, our group decide to use aggregate variable to reduce the number of independent variables.
For a simpler example, we have ... |
For my bachelor thesis I'm conducting a study on the relationship between eye-movements and memory. One of the hypotheses is that the number of fixations made during the viewing of a movie clip will be positively related to the memory that clip.
Each participant viewed 100 movie clips, and the number of fixations were ... |
I am currently doing a a study on emergency department utilization rates at various geography levels. Especially of interest, are tree-based approaches to this analysis - namely random forest and GBMs.
I've built some models using Sklearn RandomForestRegressor and HistGradientBoostingRegressor, both of which I've run u... |
In school, we were always told some general/informal "heuristics" about statistical modelling. In particular, we were advised about the following point:
If most of the variable contains zeros (or the same value), it likely will not contribute any predictive power to your statistical model, and it is better to omit thi... |
So I just started looking through through E.J. Gumbel's "Statistics of Extremes" (1958) and I came across a rather strange problem that I had never seen before. The problem is phrased as follows:
(1) Show that the distribution obtained from a logarithmic transformation of a normal variate is invariant under a reciproc... |
Let $x \sim \mathcal{N}\left(0,\sigma^2\right)$ and $y = x+\epsilon$ where $\epsilon\sim \mathcal{N}\left(0,\sigma^2_\epsilon\right)$ and independent of $x$. We know that the conditional distribution of $x$ given $y$ is $$x\mid y \sim \mathcal{N}\left( \frac{\sigma^{2}}{\sigma^{2}+\sigma_\epsilon^{2}}y , \frac{\sigma^{... |
I am struggling to identify the best analysis for my design. My two independent variables are binary (dichotomous) and my dependent variable is also binary (dichotomous). The goal is to find whether there are differences between the IVs in affecting the DV, and whether there is an interaction between my variables. I ne... |
Let's consider a deep convolutional network. It seems that there is some consensus on the following notions:
1. Shallow layers tend to recognise more low-level features such as edges and curves
2. Deeper layers tend to recognise more high-level features (whatever this means)
While I usually come across various online a... |
Suppose I have a data with two clusters. Suppose further that I cluster the data using, for example, K-means. Then, can I fit a mixture model to each cluster? That is, can I fit a gaussian mixture model to each cluster?
Sometimes the data is known to have 2 classes or clusters, for example, disease data. It contains in... |
I have a sample of people's heights. If I histogram it, I would usually divide by the bin width, so that my result becomes independent of my bin width, and I would label the axis something like (number of observations per unit height). If I do a KDE instead, it comes as a normalised distribution. To get that into physi... |
When using a Gaussian kernel to estimate the distribution of a Gaussian-distributed $x$, the bandwidth that minimizes the mean integrated squared error is:
$$h=\left(\frac{4 \hat{\sigma}^5}{3n}\right)^{\frac{1}{5}} $$
where $\hat{\sigma}$ is the estimated standard deviation of $x$ and $n$ is the sample size. I have see... |
I'm having a look at altair docs, and I don't understand why, in the last two groups (85 and 90), that have a very low IQR, they have similar whiskers than in the first group, where the IQR of the first group is huge. What am I missing? Why do the two last groups have such long lines?
|
According to the API Reference, XGBRegressor().score() returns R2.
However, according to the XGBoost Paramters page, the default eval_metric for regression is RMSE.
In my understanding, scoring and using an evaluation metric is the same. So what am I missing here? Does XGBoost use different defaults for its native API ... |
I need to express $E[\Delta x_{t}]$ and $\gamma_{\Delta X}(h)$ in terms of $E[x_{t}]$ and $\gamma_{X}(h)$. The first part of this is trivial and can easily be shown that $E[\Delta x_{t}] = \mu_{X} - \mu_{X}=0$. I am stuck on showing $\gamma_{\Delta X}(h)$ is only dependent on $h=s-t$.
Writing out the formula for autoco... |
I have a dataset with 2 factors (sorte / meristemposition) and a binary response (0/1) and ran a glm model in R including the interactions:
modell<-glm(elisa ~ sorte + meristemposition
+sorte:meristemposition,
data=data, family=binomial())
The ANOVA gave the following output - significances fo... |
I have a dataset containing the proportion of different land use categories in a circular plot around presence and randomly placed absence points of little owls. The dataset looks like this:
As you can see there are a lot of zero's there.
I want to analyse the habitat selection of little owl, thus: does it use certain... |
My supervisor suggests that I impute the missing data in my dataset through various methods (namely complete cases, k-nearest neighbors, last observation carried forward and multiple imputation with predictive mean matching) and compare the derived estimates to choose the most appropriate one. Does it make sense to do ... |
I understand that given a standard normal variable $Z$ and a $\chi^2$ random variable $V$ with $\upsilon$ degrees of freedom that
\begin{align*}
T := \frac{Z}{\sqrt{V/\upsilon}}
\end{align*} follows a $t$-distribution with $\upsilon$ degrees of freedom (assuming $Z$ and $V$ are independent). From this one may deriv... |
I want to generate a list (or array) of all positive numbers, and all the numbers need to be within 0-1.
I've seen one code,
numpy.random.normal([mean], [standard deviation], [array size]).
But it generate both positive an negative numbers.
Any other codes/formula that can solve it?
By the way, I found that
np.random.... |
I have seen many posts online about tuning the random forest hyperparameters with a gridsearch. however, since the random forest creates trees with some randomness, does this have sense? Wouldn't the best parameters just be because of a lucky model?
Let me make an example. I tuned the parameters of an ExtraTreeClassifi... |
I am trying to replicate work from this paper, specifically examination of the rationality of inflation and inflation expectations when both series are non-stationary I(1). I need to apply Johansen cointegration method to test whether series of inflation and inflation expectation are cointegrated with a vector (1,-1). ... |
I'm studying KDE and got trouble understanding Scott's rule or Silverman's rule for bandwidth selection.
I saw that the optimal bandwidth is the value that minimizes Mean Integrated Squared Error (MISE).
$MISE = \int E(\hat f(x)-f(x) )^2 d{x} $
But MISE formula can't be used directly since they involve the unknown, rea... |
The R package pwr has a function for calculating the required sample size for a one-sample proportion test (I assume a z-test but am open to being corrected). The documentation vaguely describes the h argument as the effect size without clarifying what, exactly, this means. I see two options.
Some kind of $\epsilon$ f... |
I have a dataset of about 3,500 employees with two variables: whether they left or stayed; and how many days they worked at the same location. I want to build a logistic regression model to see whether staying in one place for a long time can explain leaving/staying.
The problem is that I only have about a year's worth... |
Are there any statistical tests for the similarity of rank orderings? E.g. suppose 4 students a, b, c and d take a test 5 times over a period of 5 months, and each month we rank the students' scores:
a: 1, 3, 2, 1, 3
b: 2, 4, 3, 2, 2
c: 3, 2, 4, 4, 4
d: 4, 1, 1, 3, 1
Is there a test that can test if each month's rankin... |
I am interested in testing whether there is a correlation between a line and one or several rows in a contingency table.
Let's imagine this dummy dataset:
In rows, I have the types of meal that you can eat at a restaurant (pork, chicken, beef, tofu). I have hundreds of columns, each representing a specific situation, a... |
I have 3 independent random variables that follow $\chi^2$ laws, with $m$ and $n$ the degrees of freedom:
\begin{align}A&\sim\chi^2_m\\B&\sim\chi^2_n\\C&\sim\chi^2_m\end{align}
I am interested to know the conditional probability distribution of $B+C$, knowing that $A+B=x$. In equation, this means:
$$f_{B+C|A+B}(y|x)=\f... |
I am working on a Reinforcement Learning problem in StableBaselines3, but I don't think that really matters for this question. SB3 is based on PyTorch.
So, below is a screenshot of my model architecture (after I wrote in code that I want 2 layers, each with 64 units/nodes):
This is a PPO algorithm in Reinforcement Lea... |
I am working on a Reinforcement Learning problem, but since the underlying model is a neural network, I think this might have similarities to a supervised learning problem.
Below is a screenshot of my model's mean performance over 5 million training steps:
You can see that around 1-1.5M steps, it reaches a certain leve... |
I am building a deep convolutional model with a custom loss function. As a first step, I am trying to bring training loss down as far as possible to see if my model can overfit.
Training with on only one batch, the model can reduce the training loss to almost zero. But when I evaluate it on the same data it has been tr... |
I am reading a paper that has a wide number of explanatory variables. In order to reduce this number, the author first computes the (Pearson) correlation between each pair and keeps just one of the high correlated ones. This way, he reduced the number of variables and then feed an ML model with it.
My question: from wh... |
I am running a meta analysis of events between two different groups.
In one paper the event rate is 100% in both groups and no box is generated.
I'm aware that Cochrane recommends excluding papers where there is 0 events in both arms - is it the same case for those with 100% in both arms
I've used the metabin package i... |
Following simple example from Wikipedia's definition of sufficient statistic with Bernoulli distribution with parameter $\theta$, where sufficient statistic is a sum of successes
$$T(X_n)=\sum_{i=1}^n x_i, x_i \in \{0,1\}$$
As MLE is $\frac{1}{n}\sum_{i=1}^n x_i$ we can't just use the sufficient $T(x)$, but we also nee... |
Suppose I have overall survival data for patients who are A) untreated; B) treated with a dosage of x for some treatment; and C) treated with dosage of 2x. I want to determine if there is a statistically significant marginal effect of increasing dosage from 1x to 2x, and also to quantify that effect. What is the approp... |
I am currently trying to find the proper statistics measure to calculate the heterogeneity of a group of students. The problem is the following:
I have a population of students, divided into groups of 5/6 students. Each student has 2 grades. I am trying to calculate how heterogeneous/homogeneous each group is. I try th... |
I am studying the correlation between 20 different metrics in a dataset collected from 8 different cohorts (groups of people). My main objective is to create clusters of highly correlated metrics, so I can select a representative one for each cluster.
So, the structure of the data is something like this:
Each metric ... |
I am little confused while doing multistage classification using deep learning model.
I have data as below:
1st stage classification:
Living Things---> Animals/ Birds/ mammals
2nd stage classification:
Animals---> Dog/Cat/Horse/Rabbit/Panda
Birds---> Peacock, Parrot, Dove, Sparrow
Mammals--->Whale, Humans, Goats, Ba... |
My friend and I recently saw our old passions for Kinder Surprise toys reignited with a new animal toy line which resembled the old toys we were missing. To our dismay, however, this series did not include a "check-list" of toys to be collected. Hence arose the natural problem of estimating the number of distinct toys ... |
I have an economic time series in monthly frequency. I want to test for seasonality using LR-Test. So the idea is to:
Regress the time series y on a model with a time trend and 12 seasonal dummy
Estimate a restricted form of this model by restricting all seasonal dummies = 0
Comparing the two models (restricted and ... |
I am interested in performing LASSO regression for the purpose of variable selection. The response variable is categorical (3 classes) and most of the predictor variables are categorical. Most predictor variables range from 0, 1, 2. Some categorical variables range from 1-6. In addition, there are 3 numerical variable... |
Every book/article claims this as if it's self-evident, but I have a hard time figuring out why. How do you get from the sum-of-squares style statistic of Friedman to the difference statistic involved in the sign test?
|
I am aware of Granger causality, cross correlation, and simple methods of computing correlation at each lag/lead timestep. However, I have a dataset with 1000s of users each with a potential lag/lead effect. How can I infer a lag/lead on each user but some overall lag/lead effect, with an assessment of significance?
|
I am working on a dataset in which I am trying to summarise patient time in hospital by age and any health condition(e.g Cancer, Deprivatin, Depression or any). In my case it's Deprivatin. Patient time contains number of days spent by a patient in hospital. Age contains the actual age of a patient. Health condition co... |
Is there a t-statistics in the gradient boosted forest regression model such as that in LightGBM? If so, how is it defined, extracted and used?
|
I was wondering if tuning a seed with cross-validation in order to maximize the performance of an algorithm heavily based on a randomness factor is a good idea or not. I have created an Extra Tree Classifier which performs very bad with basically every seed except the one I found by using grid search. I think this is n... |
I want to simulate $\sigma$ from a measure $\pi(\sigma)$ through the Metropolis-Hastings algorithm, where $\sigma$ is a sequence of 0's and 1's on $S = \{0, 1\}^n$, the set of all sequences of 0's and 1's with a fixend length $n \in \mathbb{N}$ and $\pi(\sigma) = \textit{the number of 0's in the sequence}$.
In order t... |
Assume we want to solve $X z=b$ for $z$ where $X$ is a non-square matrix and $z$ and $b$ are column vectors. In case the system is overdetermined, we have no solution and can look for a solution which minimizes $||Xz-b||^2$. The solution is given by the pseudoinverse, so that $z^*=(X^T X)^{-1}X^Tb$.
My question is, wh... |
Suppose I have $X_1 \sim Exp(\theta_1)$ and $X_2\sim Exp(\theta_2)$. Then it is not difficult to show that $Y = X_1 - X_2$ will have density:
$f_Y(y) = \frac{1}{\theta_1 + \theta_2}e^{-y/\theta_1}\mathbb{1}_{y > 0} + \frac{1}{\theta_1+\theta_2}e^{y/\theta_2}\mathbb{1}_{y\leq 0}$.
Given $n$ iid observations from $Y$, we... |
I learned in school that we don't split the dataset into training and testing sets if the sample size is less than 30. I wonder why we don't?
|
I will try to ask this question via an example. Let us assume we have two groups. Group A & Group B.
Group
Total Products added to Cart
Total Sessions
Avg. products added to cart per session
A
25,000
21,000
1.1905
B
27,500
21,955
1.2526
What I want to understand is, is the difference in avg. products adde... |
May the cumulative distribution function be used to estimate the inter-quartile range?
I am drawing their similarities.
The IQR is found via a boxplot which has percentiles. A percentile comes from ranking the data.
A CDF calculates the probability something is above and equal or below and equal to a threshold which is... |
Does anyone know of any resource about how to conduct a loglinear (logit) analysis in spss? There are some youtube videos but not specifically about the logit one.
|
I am reading a paper that fits a random forest (RF) to some data that is grouped by company and quarter. In the data engineering stage, the authors include 'lagged' variables of many of the explanatory variables to feed the RF.
My question:
By lagging the variables, aren't we inducing a 'data leakage' problem? (They co... |
Trying to teach myself cross-validation on a super simple example, linear regression. My understanding is that when I build a model via CV, it should have a lower RMSE. But I find almost identical RMSEs with and without CV. Is this because I've coded too simple a problem? Or because I've implemented CV incorrectly?
Her... |
In sklearn, the AdaBoostClassifier and AdaBoostRegressor classes do not have the subsample and max_features parameters, which are responsible for the stochastic approach to building a boosting model. Question: is it possible to build stochastic adaptive boosting at all?
|
This discussion provides an excellent summary of TWFE event study model. However i have one estimation related question regarding dynamic TWFE model. In STATA we execute the the following code to obtain results on event study leads and lags:reghdfe Y F*event L*event, a(i t) cluster(i) where (F) and (L) are event leads ... |
My dataset describes the presence/absence of an animal in a number of different plant species. Below is a table of plant species Vs animal presence/absence, i.e each row show the number of animal presence/absence records I have for each plant species.
Question: What are my analysis options here for looking at the assoc... |
Background: I have a simple simulation of a sampled thresholded Poisson Process that arrives at a closed form solution but need help with the proof.
In my example, I am simulating 10,000 silicon wafers each containing 500 integrated circuits of area 'A0' (mmsq). Defects land according to a Poisson process with a defect... |
I intend to compare the effect of two indices (Ind_1 and Ind_2,continuous) and another dichotomous variable (E) on my dependent variable (DV-ordinal(0-30)) and I should adjust for one continuous variable (CV) for a proper interpretation. Ind_1 and Ind_2 are highly correlated and have to be investigated separately. My s... |
Can I use regression analysis when determining the impact of organizational change to job satisfaction and organizational commitment? my IV is organizational change and DV are job satisfaction and organizational commitment. I will use likert scale for my IV and DV
|
We frequently apply various statistical tests to data, including the stationarity test, the t-test, tests for randomness, etc. They are typically used with direct data, or information obtained directly from instruments, subjects, etc. However, there are other types of data which are model implied, i.e., residuals. Eve... |
I know that cross validation helps reduce overfitting in the data by its property of testing and training on all the instances. But is there any chance that it also reduces underfitting? I mean, if we have fewer instances in data and we don't want our model to be more general (underfit). We can use cross validation to ... |
I had this question when I read equation (C.20) in Appendix C of "Pattern Recognition and Machine Learning" written by Christopher M. Bishop. Here I copy the equation below for reference:
Capital bold $\mathbf A$ and $\mathbf B$ are matrices; so is their product. Lower case bold $\mathbf x$ is a column vector, accordi... |
My research aims to find whether the type of images that my participants were exposed to affected their altruistic behaviours (yes, no) + whether their gender had anything to do with it.
My dilemma is that I'm forced to do a binary logistic regression as my DV is dichotomous. But it does not seem fitting for my researc... |
I have a silly question - I have in model several variables with 100+ possible labels each (like Country that stores country code, Industry storing industry code, etc.) - I have to somehow convert this to a data consumed by a classifier.
I could encode these variables with OHE and have over 400 new variables, but then ... |
Im currently working on a meta-analysis of randomized controlled trials (RCTs).
These RCTs have reported their outcomes at different time points.
The maximum follow-up points were as follows: 1 months, 3 months, 6 months, and 48 months.
To pool the studies without double counting, I have decided to include the outcome ... |
Variance measures the amount of information in the data set. How?
Mathematically, the variance is the measure of the variability in the data. So, how this can be explained as a measure of the amount of information in the data? Could you please explain this with a simple example?
I read the following post, here, which m... |
As I am studying Logistic regression, I just wanted to confirm that I understand it correctly,
my main concern is the equation wx+b.
here is my understanding :
(logistic regression is an algorithm used to classify things. The goal is to classify.
So let’s assume that we are classifying if something belongs to class 0 o... |
I'm completely new to statistics and I've been trying to learn it by watching some videos:
https://youtu.be/ZkjP5RJLQF4?t=731
In that video, it says that if you sum the top residuals and bottom residuals they should equal zero:
Before I watched this video I had my own dataset containing of 3 decimal values:
Price (... |
I am using the tempdisagg R package for benchmarking quarterly time series to annual time series from different (more trusted) sources (by temporally disaggragating the annual data using the quarterly data as indicator series).
The time series are sub series and sum series, and these identities should hold after benchm... |
Let say I have below model
$y_{i,t} = 1 + X_1 + X_2 + {\gamma}_i + \epsilon_{i,t}, \epsilon_{i,t} \sim N \left(0, 1 \right), {\gamma}_i \sim N \left(0, \gamma \right)$
Here, the panel it is represented by suffix $i$ and there is time dependent measures for each $i$ which is represented by $t$
Another constraint is that... |
I do a binary classification in the domain of predictive maintenance.
Setup
My dataset is highly imbalanced with only 17 samples of the positive class, but an nearly indefinite amount of negative ones.
My target variable is precision of class 1, as I would like to correctly classify as many "1" cases as possible, but ... |
I would like to learn about Bayesian Hierarchical Modeling and its applications to time series analysis. I would appreciate a good book / publication / course which will both teach some fundamental underlying theory and give hands on procedures to set up the models and actually perform the inference.
I want to model a ... |
In the paper THE SOLUTION PATH OF THE GENERALIZED LASSO the authors derived degrees of freedom for the generalised lasso. Assume that $y\in\mathcal{N}(\mu,\Sigma)$, with $\mu\in\mathbb{R}^{n}$ and $\Sigma = diag(\sigma)$, and let us, for the sake of simplicity, consider the following regression
$$
\hat{\beta}^{FL}(\lam... |
I have an experiment design with one "within subject" factor and one "between-subject" factor. So I have to use mixed-model ANOVA, but empirical distributions are not approximated by any good family. Thus I have to implement some nonparametric version of ANOVA. The only one is known to me is due to Brunner and Langer[1... |
I'm implementing Callaway and Sant'anna's difference-in-difference (DD) estimator for my study using the csdid code in Stata.
I get the following output in Stata; however, I'm unsure of how to interpret the results correctly. For example what is the difference between Tm7 and Tp7?
|
When I was trying to do structural learning for causal inference, I perplex for too many causal discovery algorithms(PC, FCI, GES, NOTEARS and more...)
There are many structural learning algorithm for causal discovery.
For example, if you get two different structures from many algorithms, which one is best? which one i... |
If I am planning to analyses some data using a moderated moderation (Hayes - model 3). What is the most appropriate technique to calculate required sample size?
Currently, I have written a simulation in R, but I wonder if there is an alternative approach? The main difficulty with the simulation is that accurate specifi... |
I have been working with lmer in lme4, and wanted to construct a density curve of the slopes produced by my model (rather than just confidence intervals). The model output of lmer produces a slope, and something referred to as 'std. error'. If I calculate the standard deviation from the standard error, the standard dev... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.