instruction
stringlengths
9
38.7k
I have two sequences of data: air temperature T and event A. High temperatures can cause Event A, or it can just happen randomly (or other reasons). In the database, some events A are attributed to high temperatures, while others aren't (causes not identified). Theoretically, as the temperature goes up, more events sho...
I have a few question that I would like some help in: does data preprocessing (handling null values, standardization and so on..) comes before data exploration? while doing data exploration, how do I gain insight that will assist me for model selection? what insights for example helps me to decide whether to use KNN o...
Propensity score paradox and propensity score matching I went over the papers by King and Nielsen (2017) and Ripollone et al (2018) to figure out what is propensity score paradox in propensity score matching. I am confused with how they demonstrate the propensity score paradox with pruning: Quote “For each fully matche...
I have two paired samples of data that include the same number of observations (N = 878). My aim is to show that the mean difference between sample one and sample two is not statistically significant. Therefore, I applied a test of equivalence for two paired samples, more precisely the two one-sided t-tests (TOST) appr...
I started with this initial model: m1 <- lmer(response ~ treatment + (1|subjectID), data = data) However, the residuals of the model are heavy-tailed (presumably enough to violate the normality of residuals assumption?). So, I tried a log transformation: m2 <- lmer(log(response) ~ treatment + (1|subjectID), data = ...
Can you say "predict" in a regression write-up if your data is cross-sectional? Or should you stick to language such as X is "associated" or "related to" with Y. Does predict always imply change over time?
Projection pursuit regression (PPR) is described in Hastie et al.'s The Elements of Statistical Learning in the chapter on neural networks. The algorithm was introduced by Friedman and Stuetzle (1981). It seems to be equivalent to fitting a neural network with one hidden layer, but where the hidden-node activation func...
I have a somewhat unusual study setup, for which I'm not sure how to analyze it properly. Basically, I have a 4x2 factorial design which assigns users to a condition A (4 levels) and at the same time B (2 levels). However, I also have a control group in which participants get neither A nor B - so no experimental condit...
I am really confused regarding 2-way Anovas. I think I did not understand something properly. Let's say I have a 2x2 experiment design with 2 factorial variables (For the sake of an example let's say Letter and Number so A1, A2, B1, B2 as possible combinations) I would like to do a 2-way Anova since I hypothesise an In...
I have a 2x3 between-subjects design. I want to run two-way ANOVA but have no normality and no homogeneity. I have 3 variables and 103 observations in total. Factor 1 - attentional bias (CFT): G0 n.38; G1 n.31; G2 n.34 Factor 2 - body dissatisfaction (EDI): G0 n.61; G1 n.42 Dependent Variable - Disgust Regarding the ...
I want to using simulation to determine the effect size that could be detected with my sample size. What makes the simulation a bit complicated is that my dataset is about species traits. It means data points are not independent of each other. The function I used to get the coefficient in the first place is phylolm fro...
I am using doc2vec to vectorise documents that average in length 10 words (PV-DBOW implementation of the algorithm). I am wondering how doc2vec handles cases where the number of words in a document is smaller than the window size? (I am trying to decide between a 5 and 10 word window size at the moment and I'm unsure)....
I'm trying to make a pipeline that will do the following things: preprocessing, train one model (e.g. random forest), use GridSearchCV to tune hyperparameters (using nested cross validation to prevent data leak), and use cross_val_score to assess the performance of the model. When I look online I'm finding that some pe...
I was reading the question Training on the full dataset after cross-validation? and found a corresponding literature reference Moiser 1951, https://doi.org/10.1177/001316445101100101 who claims good practice was to (potential misquotes are my error here): obtain performance metrics using cross-validation: training a m...
I have a basic knowledge on econometric techniques for forecasting, and I was reading about Forecasting with decomposition. My data seems to show high seasonality as can be seen in the following picture: If my understanding is correct, after decomposing the time series in its components with (e.g.) STL, I can forecast...
New to statistical analysis so bear with me. I have a dataset with 1 (say y) dependent variable and 5 independent variables (say x1,x2,x3,x4,x5) which are highly correlated. I know that y depends (linearly) on x5, but want to answer how much it also depends on x1 through x4 (which in theory should have increasing linea...
I hypothesized that a set of symptoms is not really specific to a particular syndrome (let´s say A), so I recruited two groups of experts to classify each symptom (I have 16) to condition A, B, C (which in reality is A+B, "both"), and D (which is neither of A or B). I used Gwet´s AC1 to assess inter-rater agreement of ...
I am working on a classification problem with an expanded dataset. Assume that the initial data is the following. For the sake of demonstration, let us assume that we have only two predictor columns, A and B, (but in reality, there're 30+ of them), and one target variable Y. The problem with that dataset is a relativel...
I have observations from three groups of participants (A, B, C), that each represent ratings on three different measures (measure 1, 2, and 3). I would like to know if it is the case that, regardless of group, the distance between measure 3 and measure 2 is greater than the distance between measure 3 and measure 1. In ...
I have a model that makes a prediction of the change in a number during a time interval. The model depends on covariates that happen during the interval of prediction, as well as a weighted average of those same covariates during recent past intervals. There is a lot of noise in this process. $y_t = f(x_t) + g(x_{t-1},...
I estimated the Value at Risk of a time series of log returns with different approaches and models. Now I want to compare the models and chose the model that most accurately estimated the Value at Risk. Question: How can I determine which model is best? Which model should I choose? My current approaches are: Example...
I run a DID with Panel data (FE) in Stata. I have two groups, Treatment Group (N=75); Control group (N=54). And have a time series of 6, 3 pre treatment and 3 post treatment. I am getting insignificant results, and do not know how to explain it? I run a placebo test, still insignificant results. Can someone help me el...
I estimated the Value at Risk of a time series of log returns with different approaches and models. Now I want to compare the models and choose the model that most accurately estimated the Value at Risk on the basis of multiple VaR backtesting approaches (e.g. the unconditional (Kupiec) or conditional (Christoffersen) ...
I am wondering if the Wilcoxon signed rank test is an appropriate test for my data, that does not follow a normal distribution. I have 150 datasheets of numbers of drugs measured at two points in time. 40 negative ranks (reduction in number of drugs) 10 positive ranks (increase in number of drugs) 100 zero differences...
I am working with NHANES survey data and I am trying to use a twophase survey design along with calibration to adjust for item non-response. For now, I am following an example from Lumley's Survey book pretty closely to do this. I have the following code below to set this up. nhanes_df <- nhanes_df |> mutate(w2 = nro...
I ran a three-level SEM and I have got perfect Model fit indices (RMSE=0, CFI=1, TLI=1). Data structure is households (hhid) nested inside the clusters (vilid), and being measured twice. The number of observations is 1160 (600 households but being measured twice). The number of clusters is 38. I am using Mplus to estim...
I have developed a binary classifier using LightGBM, where I've primarily used the AUC metric due to its simplicity, ease of use, and interpretability. Recently, I've taken an interest in utilizing the mean average precision-k (MAP@k) metric, and I understand that LightGBM offers two variants for this particular metric...
The definition of distribution is(as far as I know) "a function that maps the outcome of an event to it's probability" and all the definitions of random variable I've come across say almost the same. So what is the difference?
I'm analyzing a monthly district-wise dataset of 10 years to determine factors influencing dengue incidence. The dataset is not stationary and the dengue incidence shows a seasonal pattern. My instructor suggested using panel data analysis, I tried pooled models, fixed effect models, first differenced models, etc but t...
I have some model which I want to cross-validate. I want to use a leave-one-out cross-validation (LOO-CV), as I have only little data. I created a model for all of my data, did model selection and confirmed with model diagnostics that the assumptions of my model are met. I wrote myself some code to validate my model (n...
Update 7/26/23 Sorry for the lack of data in the original post. I put together a dummy data set in the image below. In this case the target for contaminant out is ~2, although there are diminishing returns at less than 2. I'd like to come up with a single variable to describe the relationship between contaminant in a...
I have a very large dataset with mixed-type variables. When I apply the Gower's dissimilarity measure to obtain the distance matrix, it is running out of memory. Due to the large size of the data, it's no use if I increase the memory size by memory.limit(size = xxx). So I am wondering, is there some effective approach ...
Suppose there's a bag with four balls; color 0 appears once, color 1 appears once, color 2 appears twice. How many ways are there to draw these balls? Having done this by hand, I believe there's 12 different options: ball1 ball2 ball3 ball4 1 1 0 2 1 1 2 0 0 1 1 2 2 1 1 0 0 2 1 1 2 0 1 1 1 0 1 2 1...
I am struggling to analyze longitudinal data on a prognostic model. I used a multivariate Cox model to select predictors at time1. I also have measures of these predictors at time2 (the event of interest), but only in those observations that had the event (I don't have data at time2 of those observations without the ev...
I model a stock price with a completely random walk: In each step I multiply the price with normal distributed random number with an mean of 1. Then I compute a signal, which is True if the moving average of the last 10 prices is above the current price. When I now look on the mean of the prices where the signal is ...
I'm estimating the coefficients of variation (CV) for features in a dataset. Each of the features is well represented by a normal distribution. I've done the estimate in two ways, both using bayesian methods. In each case I fit the model to zscores then invert the transform for the samples. The two approaches are inde...
On https://www.cs.ubc.ca/~murphyk/Teaching/CS340-Fall07/L4_knn.pdf Page 6 The author (Kevin Murphy) plots the training and test errors associated with kNN classifer. I am not sure how training error is derived, since for kNN there is no training phase.
I have two groups of people, those who finished a treatment with a drug and those who didn't. Also, I have the amount of adverse reactions each individual had to the drug. An individual could have from none to 3 or 4 adverse reactions. I need to test if there is a difference in the amount of adverse reactions individua...
I'm working on an algorithm which is permitted to use a training set of approximately 250,000 dictionary words. I have built and providing here with a basic, working algorithm. This algorithm will match the provided masked string (e.g. a _ _ l e) to all possible words in the dictionary, tabulate the frequency of letter...
Select 3 letters at random, one at a time without replacement, from the word VARIANCE. The discrete random variable X represents the number of times is selected a letter A a) find the complete probability distribution of X
I am working on a frog classification problem where I have 15 unique species and 2 recordings per species. Would it be a valid experiment if I were to have my training set of the 15 unique species with 1 recording per species and augment it through, time-shift, pitch adjustment, noise injection, spectral augmenting, an...
Suppose $X_1,\ldots,X_n\sim\operatorname N(\mu,\sigma^2)$ and you can observe only the sample size $n,$ the two extreme values, and the first, second, and third quantiles of the sample. Among unbiased estimators of $\mu$ based only on those five statistics, which has the smallest variance?
In my GWAS analysis, I got some very low p-values (I have a very large dataset), below E-600. R Studio is not able to plot the values below E-300. Do you have any suggestions on how to plot these, and if there is some software that could do it?
Apologies, I'm not a stats-person, I'm looking for a concept that I'm struggling to Google. I have a boolean function that returns true or false at some unknown chance c. I have a sample of 100 function-executions, 70% of which returned True. I'm looking to graph, for every value 0-1 the odds that the function actually...
I am looking for a significance test to compare between two association matrices (contingency tables) - preferably to test whether the odds ratio is the same. I have looked at some questions here but they don't provide the answer I am looking for. For example, I would like to compare the following tables: (Apologies t...
I am trying to come up with a normalization for a set of data. My company puts our products through a series of testers (people) to score our products on key metrics. I am able to access all records from each tester and when I look at the averages, I find that some testers always have scores higher than the standard de...
Let $X$ and $Y$ be independent random vectors (denote this by $X \perp Y$ ) . Let $A=[|X|\leq t ]$ and $B=[|Y|\leq t ]$. Since $X\perp Y$, we know that $A$ and $B$ are independent, so the indicators $\mathbf{1}_A$ and $\mathbf{1}_B$ are independent. I wanto to show that $X \mathbf{1}_A$ and $Y \mathbf{1}_B$ are indepen...
I want to test the hypothesis that the coefficient for tobacco use by age is greater in women than men using the couples data (CR) from the Demographic and Health Surveys (DHS), which has a complex survey design. Tobacco use (yes/no) and age data are sampled from couples in a household. Each row therefore includes colu...
Edit: The question that was linked as an answer speaks of heteroskedasticity and multicollinearity, but this data set passed the Breusch-Pagan test and VIF, respectively. And in any case, I still have no idea what use the coefficient is for atr as its insignificant. How am I supposed to create a regression equation usi...
Given a standard 52 deck of cards with [12/52 being an Ace, King, or Queen], if you draw 21, what are the odds that 6 (or more) of the 21 cards are either (A,K,Q)? How do you go about calculating that and how could I do the same for exactly 6, or 5+, 5 etc.
I am comparing a certain activity in an animal using a one-tailed Mann-Whitney U-test. I would like to know if the activity increases from treatment A to treatment B. Alternatively, I could look at whether it decreases from treatment B to treatment A (if that works better for the test), since it's the same thing. Howev...
I did a Spearman correlation test and I used 14 samples(12 form group 1 and 2 form group 2). P value =0.04. here is the plot: I repeated the analysis for group 1 only (12 samples) and removed group 2 (2 data points). The significant is lost and p value become high p=o.11. here is the second plot: The question is: Is ...
Can the final hidden state of LSTMs/RNNs be utilized as a sequence embedding for documents or sentences? These embeddings could then be applied to tasks like classification or clustering to leverage the spatial relations between them. The learning process can be self-supervised, for example, by using X: [<sos>,"I","at...
I am trying to use a gam function (mgcv package) to decompose the response variable pulse voltage into a combination of polynomial and exponential components. I get the following error: Error in UseMethod("smooth.construct") : no applicable method for 'smooth.construct' applied to an object of class "ex.smooth.sp...
We are in a 8 m corridor. Each bin is 1m wide. There are 5 bins that are dark and three bins that are light. The robot has a light sensor and can detect whether a certain bin is dark or light. If the bin is dark, the sensor reports "dark" in 80% of the times and "light" in the remaining 20%. If the bin is lighted, the ...
The following question is an interview question about probability: There is a list of items and how many times each item is purchased (range from 10 to 100,000 times). The probability of users buying each item is uniform (same across all users). Let's say we have an item "A" that has been recommended ten times and pur...
I am trying to familiarize myself with the Cullen and Frey plot. So, I generated 1000 exponentially distributed numbers using the command: x <- rexp(1000, 2) Then, with the fitdistrplus package, I created the Cullen and Frey plot. install.packages("fitdistrplus") library(fitdistrplus) descdist(x, discrete = FALSE, boo...
I have a dataset containing atmospheric methane concentrations where each data point has two dimensions: one for measured concentrations and the other for modeled concentrations. The dataset is divided into two subsets based on daytime and nighttime timestamp. My goal is to investigate whether there are systematic devi...
The problem Imagine that you have two different tools that produce data at given time points $t_1,...,t_m$. Suppose that we only have access to the mean and standard deviation of the data at each time points for each tool. Let us write it like this: means of tool 1: $T_1(t_1),...,T_1(t_m)$ and the standard deviation $...
Could you verify that i understand the author correctly here? New to Bayes. [...] These assumptions [the prior and the likelihood] also allow us to simulate the observations that the model implies. They allow this, because likelihood functions work in both directions. Given a realized observation, the likelihood funct...
I feel like this is may be obvious, given similar questions and the responses given on this site. I'm still unclear as to the underlying latent variable specification with logistic regression though. When estimating parameters in a logistic regression, I assumed that we define a model in terms of independent variables ...
I have a confusion over an integral involving a multivariate and a univariate Gaussian. We know that in the case of two multivariate Gaussians the following is true: $$ \int \mathcal{N}(\mathbf{y}|\mathbf{A}\mathbf{x} + \mathbf{b}, \mathbf{S}) \mathcal{N}(\mathbf{b}|\mathbf{m}, \mathbf{C}) \mathbf{db} = \mathcal{N}(\m...
unfortunately I have a problem with my lavaan output in R Studio (Version R-4.3.0). I would be very grateful to get help with my problem! I do not get standard errors, z and p values displayed. For understanding here is my multiple mediation model and the corresponding output: mbiMediation <- ' mbi_100 ~ b1*scs_100 + b...
Systematic reviews are typically performed on single papers. Nevertheless, the concept of "systematic review of meta-analyses" is not new (see, for example, here:pdf). Are there guidelines on how to perform them?
I am analyzing my data with a generalized additive mixed model (GAMM) with the following structure: y ~ Var1 + s(Var2) + s(Var3, bs="re") Var1 is a factor with three levels and an unbalanced sample size (level1, n=7; level2, n=24; level3, n=5). I need a post-hoc test that checks pairwise comparisons between all levels...
Most problems about martingales start with an assertion similar to the following one: Suppose that $X_n$ are iid such that $\mathbb{E}[|X_n|]<\infty$ and $\mathbb{E}[X_n]=0$. Then $S_n = \sum_i^n X_i$ is a martingale. Why do we require $X_n$ to be iid? Can the previous statement be extended or generalized (maybe under ...
ID Sex Surface B1 1 female UN 1255 2 female UN 542 3 female UN 818 1 female UN 274 2 female UN 261 3 female UN 314 1 female UP 552 2 female UP 548 3 female UP 721 1 female UP 431 2 female UP 354 3 female UP 738 4 male UN 901 5 male UN 619 6 male UN 861 7 male UN 713 8 male UN 717...
I'm struggling with something that at first sight seemed simple to me but turned out no to be. I have a big df (112 samples x 58 characteristics), these characteristics are all binary (presence/absence, yes/no) coded as 1/0. Here's a random example: condition<-c(rep(0:1,20)) char1<-sample(0:1,20,replace = T) char2<-sam...
I am working with data from different brands where I have how much the different brands were bought for a particular day over the period of 1 year. However, I know beforehand that some of the data is not reliable. Specifically, I know that some brands report 0s that are actually missing values for particular days. This...
The mathematical formulation of partial log-likelihood function (https://in.mathworks.com/help/stats/cox-proportional-hazard-regression.html) is defined as: The above formulation does not take into account the 'id' information. And in the documentation of CoxTimeVaryingFitter (https://lifelines.readthedocs.io/en/lates...
Currently I am applying negative binomial regression. My total sample size is 669 as this is a follow up data. Count variable (dependent variable) is mental health visits, primary independent variable bullying victimization 0=No, and 1= yes, other are covariates which I need to adjust. 609 participants has 0 frequency ...
I came to know from somewhere that there is a technique called delta method which can be used to approximate the distribution of a function of a random variable using the distribution of the random variable itself and the first two moments of the function. It is often used in situations where the distribution of th...
I've been handed off some data to analyze and I'm looking for something simple and straightforward. The main study question is testing the efficacy of 7 herbicides, with one untreated control. The 1 response variable of interest variable is mortality, which con be expressed a number of ways: % mortality, # of dead tr...
Let $X \sim Beta(a,b)$. I was wondering what is the distribution of $\frac{1}{X}$?. Here is my derivation by using transformation of random variable. Let $Y = h (X) = \frac{1}{X}$, which implies $h^{-1} (y) = 1/y$ and $h^{'-1} (y) = -1/y^2$ \begin{align} f_Y (y) &= f_X( h^{-1} (y) ) \left|\frac{d}{dy} h^{-1} (y)\right...
I have a question regarding how to determine the number of independent tests when performing multiple testing corrections. Suppose my research hypothesis is whether age is related to cognition decline in females, and I have four cognitive outcomes. In my actual analysis, I tested the association between age and cogniti...
I have a continuous response variable called "distance," which was measured in two different years (2019, 2020), and each year exhibited a significantly different distribution. In 2019, the best-fitted distribution was "log-normal," while in 2020, it was a "gamma" distribution. To analyze the data, I utilized the "brms...
I implemented an MCMC algorithm for the following regression model: $$y_i \sim N(\mathbf{x}_i'\boldsymbol{\beta} + \eta(\mathbf{s}_i) + \theta_i,\sigma^2),$$ $$\boldsymbol{\beta}\sim N(\boldsymbol{0},10^6\mathbf{I}),$$ $$\boldsymbol{\eta} \sim N(\boldsymbol{0},\sigma^2_\eta\mathbf{R}(\phi)),$$ $$\boldsymbol{\theta}\sim...
This question is more out of curiosity than necessity. Any useful resources/literature will be massively appreciated. Recently started research in a new field that I’m unfamiliar with: economic policy evaluation. And much of the research relies on comparing data with counter factuels; the calculations and variations in...
Why is the distribution of the sum of the values on two dice bell-shaped and symmetric if two uniform dist. sum is triangular distribution via Irwin-hall distribution?
The goal I want to run dominance analysis on a mixed-effects beta model, to approximate the relative importance of a set of predictors (2 factors, 1 scaled continuous, 1 continuous with splines). The random part of the beta model would be random intercepts, with a nested structure: (1|random1/random2). The mixed-effect...
I would like to test whether there is a statistically significant difference between % of ethnic minority students registered in 2018/19 (before the pandemic) and 2021/2022 (after) at a college. I have the actual numbers as well. I am mindful that they are not samples but actual proportions (hence my confusion). Can an...
Cross-posted (kind of) from Academia Stack Exchange We have a research paper that we want to get published in a journal. The paper is some simple statistical analysis of a survey we made. One of the questions in the demographics section is "What is your profession?" and you are given 4 options plus "Other" where you ca...
Assume that you have a matrix $X$ and you want to project it onto a subspace by using PCA. It will work. Then you are trying to use a linear autoencoder to projecting $X$ onto the same subspace. It will work too. Question: Assume that the PCA projection has $c$ components. Can a linear autoencoder project $X$ onto the ...
I analyse chemical data from surface water and groundwater for a scientific paper. My data is split into three main groups: The River, row A consisting of "x" wells, and row B consisting of "y" wells. The main reason for this study is to check whether it is a statistically significant difference between the river, row ...
To simplify things, I will ask my question in the case of simple logistic regression but I am also interested in the case with multiple explanatory variables. Let $\vec{x} \in \mathbb{R}^N$ be the observed values of the explanatory variable and $\vec{y} \in \{0,1\}^N$ be the corresponding observed values of the binary ...
I am trying to compute measures of word/sentence similarity from word embeddings that I would like to use for classification. However, cosine similarity often runs counter to how I as a human would judge word similarity. Are there any other, more sophisticated measures for word similarity? For example, I used Open AI e...
I'm reading a meta-analysis that compared the risk of an adverse outcome in the intervention and control group. The meta-analysis yielded a summary effect size (risk difference) of +3.9%, with a 95% CI -1% to +9%. The authors concluded that this confidence interval 'exclude >1% reduction in absolute risk' because the l...
To implement variational inference in a Bayesian model, one essentially has the choice between different approaches that differ in their degree of automation and flexibility: manually deriving update equations for coordinate ascent variational inference (CAVI) and implementing them (e.g. using numpy) performing stocha...
I performed a Bayesian hierarchal regression with the brm package. Looking at the parameter estimation and confidence interval, I found no support for one of the parameters. However, when I computed Bayes Factor (using different packages), I found strong evidence (BF=11). I am assuming I am doing some kind of a syntax ...
I am trying to find the formula/method of computing the total sample size for a stratified population, given this information: Stratum | size | mean | SD Large | 200 | 60 | 15 Small | 400 | 10 | 5 The problem statement is as follows, nothing more: "A stratified sampling of (companies) is going to be made.Th...
I conducted exploratory factor analysis (EFA) on 69 variables and sample of 346 (1:5 variable to sample ratio). I used Principal Axis Factoring (as it is the most used extraction method for common factor analysis) with Promax rotation (initially I used Direct Oblimin, but some of my factors had negative correlations wi...
I'm trying to create a robust logistic regression model, because I detected outliers in my data, but I'm receiving this error: Error in solve.default(crossprod(X, DiagB * X)/nobs, EEq) : system is computationally singular: reciprocal condition number = 1.38186e-16 I already search about, a lot of people said that i...
I've been trying to wrap my mind around the best way to test for differences within some data I have collected for a study I am finishing up. I have multiple questions that I just can't seem to find answers to that I feel good moving forward with. I have two factors: treatment (radiation and control) and time after tre...
Hi trying to better understand the statistical approach for the below problem. We'd like to build a logistic model (binary outcome) with two independent variables: one binary and the other continuous. The tricky part is that the continuous variable is dependent on the binary variable. To clarify I'll use an example reg...
I conducted a hierarchical analysis with a compound Poisson linear model (cplm) in R, using the cplm package, and found a significant interaction effect. I want to perform a region-of-significance analysis to understand where, across the continuous independent variable, the effect of the binary independent variable is ...
I need to see if there's a statistical difference for each ID between CHLA, CWBA, and CH and what that difference is, AS WELL AS, if Species Type is a factor. Which R package would do this? I have the following data: ID Species_Type Total…¹ Hairl…² Mass_…³ `%_fur` CHL1 CHL2 CHLA CWBA CH <chr> <chr> <db...
With regards to hierarchical models I often see these referred to as groups borrowing information from each other e.g. It will be seen that the hierarchical model posterior estimates for one school borrows information from other schools source I was hoping someone could explain where this interpretation comes from. A...
How would you approach conducting a power analysis to estimate how large of a sample you would need to conduct a difference in differences estimate? For example, for a T-test, I would just set effect size, significance level, and power level and I can calculate the sample size needed. For a difference in differences, w...
Researchers often employ multivariate longitudinal/repeated meatures models when they collect multiple measures ($k\in K$) on each of multiple occasions ($t\in T$) for each of multiple units ($i \in N$). Such model include longitudinal/multi-group item response models, structural equation models, and multi-group confir...
I would like to construct a kernel from very large samples which makes it impossible to construct the N by N kernel matrix. I can use RBF sampler (random fourier features) to make the dimension more manageble e.g. 1000 features. my goal is to use kernel regression to make prediction for new data points? I know how to d...