instruction stringlengths 9 38.7k |
|---|
I have a question about the inclusion/exclusion of certain covariates in a 2SLS model. My concern is that my instrumental variable, Z, influences Y through two pathways: X1 and X2. If I am interested in isolating the X1 effect, is it sufficient to include X2 in the second stage equation, but not the first? Can this ... |
I've been asked by a reviewer to provide effect sizes for pairwise, planned comparisons. In the experimental design, I have one fixed factor with three conditions (Consistency). Passage & Subject are random effects. I would like to report Cohen's D for three planned comparisons (Consistency 1 - Consistency2; Consistenc... |
Classification problems have the benefit of being discrete, so it's easy to calculate how much information your model has. For example, in LLMs your training data has inputs $\mathbf{x}_i$, a list of previous tokens, and some distribution for the next token $\mathbf{p}_i$. The entropy is $$H = -\sum \mathbf{p}_i^T\ln \... |
Introduction
I'm studying importance sampling and I'm trying to figure out by myself, with a couple of examples, what are the main benefits with respect to standard Monte Carlo integration.
I'm not sure if I have correctly understood the theory and if I my examples are correct.
Moreover, I've found an implementation pr... |
I'm a beginner at stats and only need to understand the basics. I've learned simple, logistic and Poisson regression and am trying some problems.
I have a set of count data which have been averaged across repeated samples to create a data set of mean counts (so not whole numbers) for each experimental plot. The distrib... |
I am currently working on demand forecasting. During my research online I came to know about methods used to classify demand which helps us to focus on series which have better forecasting ability etc. So, the classification of demand happens mainly based on Coefficient of Variation (CoV), Average Demand Interval (ADI)... |
I'm currently running a test to compare the performance times of our new and old machines. Working with a substantial dataset—over 50,000 records—that leans toward the new machine being faster. Previously, I conducted a similar test but lacked clarity on certain technical aspects. Consequently, I opted for the Mann Whi... |
I am an absolute beginner in this sector. Currently learning supervised machine learning from Course era under the instruction of Andrew Ng. I am on my 2nd week in the 2nd course of that sequel.
I am actually confused about the back propagation. I understood the theoretical stuff of back propagation which is basically ... |
I have data with a continuous longitudinal outcome and one of the covariates is a categorical longitudinal variable. Both of them have missingness and were collected at the same time. So this means if the outcome is missing, the covariate is also missing.
My questions are the following:
If there is missingness in the ... |
I was solving one quiz question on Coursera and I found an interesting question.
If you double the value of a given feature (i.e. a specific column of
the feature matrix), what happens to the least-squares estimated
coefficients for every other feature? (assume you have no other
feature that depends on the doubled fea... |
I'm having trouble identifying what statistical model or methodology is suited for my application.
My situation is as follows:
I want to create a stock trading agent that trades a single stock-cash pair based on quote data it receives over time.
For simplicity:
If the agent is holding only cash, their available action... |
For a linear regression, one way to estimate the range of a prediction for a new observation is to calculate the prediction interval for the new observation.
What if, instead, the squared residuals were regressed against the initial predictors? Would that be another way of estimating the variance for a new observation?... |
I have two arrays representing the independent and dependent variables in a certain experiment (1000 samples). I would like to know the functional relation between them. Specifically, I would like to decide between these two options:
A logarithmic relation: $y = a * log^b(x) + c$.
A power relation: $y = a * x^b + c$.
... |
I'm looking to find out whether an attitude differs across income quartiles. My supervisor has mentioned dummy coding and regressing the quartiles against each other, however, I'm sort of at a loss as to how to do this.
Would I just include the variable whereby each respondent is coded into a quartile as a predictor in... |
In the table-1 third row it is being mentioned. Why is it $O(n/k)$? Take for example 1d convolution of 2 over 9 tokens with stride $1$. It won't be $n/k$ or $9/2=4.5$ rather it would be roughly $n-1$ or $8$.
The paper did not mention about stride, so I assumed it would work for any stride.
From paper: (link)
A single ... |
I am currently reading through the paper:
Estimating Regression Parameters Using Linear Rank Tests for Censored Data - A.A. Tsiatis, Annals of Statistics 18(1): 354-372, 1990.
https://projecteuclid.org/journals/annals-of-statistics/volume-18/issue-1
and I am trying to verify a seemingly simple equality statement howeve... |
I want to analyse a age structure of my sample. However, I was not given the ages themselves and instead had to establish them using multiple methods with various coefficients of determination (not every method could be used on every single analysed sample), with some of the methods being run twice to check its replica... |
I have a dataset witch consists of several years fish counts in a trap that is used to catch downstream migrating individuals. The trap is usually emptied daily, but sometimes the interval is longer (2-6 days). I refer to this interval between sampling as "trapping period". I expect that all of the fish moving downstre... |
My office leadership is interested adopting “quantile time series forecasting”, the idea is query the model to predict the 5th, 25th, 50th, 75th and 95th percentiles of an RV given features such as previous observations, covariates, etc.
My questions are about feasibility: Are there x independent models, one for each q... |
I am quite new to statistical analysis, so this question might seem a bit obvious. My problem is the following. I have performed a simple linear regression between two sets of values without uncertainty, resulting in a regression equation of the form
$$
y = ax+b.
$$
I have calculated the uncertainty in the slope, $\del... |
I explore centrality measures for graphs and discretized regions.
The data array (for given point) is all distances from this point to the boundary of region.
At the beginning I used standard deviation of this array as measure of centrality of point
(the smaller deviation, the more centrality).
But recently I've found ... |
I have an array of values of MGF (it is evaluated at some points).
The plot of it is shown (blue curve): .
Is it possible to find PDF knowing MGF in such form?
I tried to fit MGF with some curve (you can see that blue and red (approximation) curves almost coincide), however, the error when I calculate pdf from the fitt... |
A quick question. My intention is to analyze some numerical data across several categories (treat this as ANOVA, if you wish, but I'm going to focus on simple effects) that are "just numeric", but not specifically counts, not binary categories, not necessarily "always-skewed left or right". Let's say it's about data th... |
I am working on a hierarchical time series forecasting on which I am using reconciliation methods. The problem is the circular dependency between two hierarchical time series as shown in the diagram:
We have two hierarchical time series X (red) and time series Y (blue).
In this example, we annotate the bottom-level ti... |
Can you introduce bias by treating longitudinal data as a repeated cross section?
Suppose I have two data sources measuring the same variables. The first is a balanced panel dataset $\{y^{long}_{it},X^{long}_{it}\}_{i,t}$ where each individual $i$ is sampled every year $t$. The second is a repeated cross-section $\{y^{... |
SYNTHESIS METHODS (eligibility for synthesis)
13a
• Describe the processes used to decide which studies were eligible for each synthesis.
My study aims to compare Internet Delivered Mindfulness Based Interventions with Treatment as Usual or other Active Interventions delivered face-to-face for cancer patients undergoin... |
I have a mixed effects model that I'd like to simulate random effects from using a MVN approximation (sampling from the predictive distribution). My question is what is the advantage of simulating random effects by 1) simulating both fixed and random effects using the joint variance-covariance matrix (then just pluckin... |
A reviewer asked for either Bayes Factors or effect sizes for pairwise, planned comparisons in linear mixed modeling. In the experimental design, I have 30 participants, one fixed factor (repeated measures) with three conditions (Consistency). Passage & Subject are random effects. In response to the reviewer, I have co... |
This might be such a trivial question for you, but please bare with me as I don't have background in statistics. So I am curious about corpus linguistics, and especially in this case how corpora is used to prove the Brevity Law, also known as Zip'f law of abbreviation. Simply put, this theorem postulates that the short... |
I will preface this by saying I am not a trained statistician, so please be gentle. I am using R to construct a cumulative incidence function curve for a single-arm evaluation at multiple timepoints of interest. The outcomes of interest is 'Event' with 'Death' as a competing risk (and the third option being 'censored')... |
I imagine a scenario where two teams play each other having historical win percentages. Team $1$ is quite good and wins $60\%$ of its games. However, team $2$ is really good and wins $90\%$ of its games. When the teams meet, what is the probability that each team wins?
I tried to solve this using a multivariate approac... |
I'm using a BART model (Bayesian additive regression tree) to predict the relative risk of an outcome (21,384 observations) controlling for 388 features and I'm getting a really poor actual vs. fitted value plot unlike any I've gotten before in other models with different outcomes.
DV = logged relative risk + 1 of ren... |
I have a small data where there are 3 groups (A,B,C) and 5 participants from each group. All of those participants are measured 6 times on each of 7 different exams, so each participant get 6*7=42 scores in total. A simple linear mixed model was built mylmm<-lmer(score ~1+group+exam+group*exam+(1|participant), data = m... |
I got the following question in a quiz, and it seems that my answer is not correct. I don't understand why:
Why is there a residual connection around each attention layer followed by a layer normalization step in the in the decoder network?
The answers:
To help with the interpretability.
To speed up the training, and... |
I am studying a daily dataset from a game which contains informations about the peak of players from 2013-2023. This is my first try applying decomposition to see how time series components behaves. Later I would like to perform a forecasting using some models, I have applied the ADF test and it revealed the series as ... |
I'm a B.S. Math graduate who likes to (attempt) to teach myself statistics on my own time because I can't afford a masters degree.
It really bothers me when I can't understand at a fundamental level how and why something works and so in this post I wanted to provide every single step in how coefficients are derived usi... |
I am planning a staggered difference-in-differences analysis examining the impact of a change in health policy at the county level. The policy was implemented at different times in different counties, and in many counties not at all. I have data for many counties, with only a small fraction having ever implemented the ... |
I am reading Wooldridge's econometrics textbook. He provides the following example: Suppose we have a regression model relating wages to gender and education level.
wage = b0 + d0 female + b1educ + u
For the gender variable, we can create a binary variable in which female = 0 and male = 1. The textbook stated that we s... |
I am trying to work on building an variational autoencoder in Keras, with an input shape of X= (1,32) and Y= (1,16).
I made 2 models, one for the prediction of Y, and the second for reconstruction. The reconstruction train very well, however, the predictor cant predict the Y correctly. I am working in biology field, ... |
I am trying to build a regression model to explain variations in mortgage volumes using variations in different mortgage rates. To account for the drastic change in macroeconomic environment: from near zero rates to positive rates, I have used a weight variable to give more weight to the more recent observations relati... |
I have the following question:
Suppose we have a set of 10 numbers (1, 2, ... , 10), each with a certain probability tagged to it.
Is it true that the highest possible variance is achieved when 1 and 10 each have probability 0.5 while all other numbers have probability 0?
If that is the case, how do we prove this cla... |
Overview
I was trying to fit a cox proportional hazard model to look at interactions between two time-constant covariates, both of which are factors. I parameterized the model in two different but equivalent ways, but parameter estimates from the models were somehow different. I wonder what went wrong. Please see below... |
I have this problem that I found on the paper I'm reading. In that paper, it is given that random variable $X = \sum_{i=1}^n X_i$, where each $X_i$ is Bernoulli with parameter $p=1/6$ and they are i.i.d. The bound on its tail probabilities are given using the Chernoff bound with
$\mathbb{P}[X \leq \lambda_0 np] \leq e... |
I asked the same question on math stacks: MathStacks:, and some user suggest to ask it here for better insight. So this question has found interest in many research problems, but there have been no concrete findings. I want to pose this questions here and take some feedback on how we can solve it. So lets assume you ha... |
As a result of a PCA analysis with some initial correlated variables $X_1,..,X_k$ we often do a plot of the loadings to intepret the principal components:
PLOT 1: Plot of the loadings:
We call $v^i,i=1..K$ the principal components (so that $v^{i}\cdot v^{j}=\delta_{i,j}$). Indicating the components with a lower index $... |
Are "factor loadings" (orthogonal rotated) in exploratory factor analysis (EFA)
correlations or standardized regression weights?
For instance in r, the factor loadings are very high, if the correlations of the variables are strong (but not exact the same as the bivariate correlations), and the standardized regression w... |
I'm thinking about a problem from a recent project, where a neural network is used to detect some particular events- so basically it is a binary classifier (yes/no).
We have a lot of data and want to somehow very roughly estimate a required sample size for further data collection. Usually I would consider learning curv... |
Consider a simple linear regression model:
$$Y=\beta_0+\beta_1 X +u$$
Here, we can consider an estimator that does not use any data:
$$\hat{\beta}_1=0$$
That is, regardless of the observed data, the estimated value is always zero.
Then, we can write the estimator as a linear function of the observed dependent variable:... |
I have a log-likelihood function with four parameters, out of which the variability of the likelihood with two parameters is extremely smooth. It suggests that the derivative is small for large ranges of these two parameters. Although I know there is a maximum, I have never achieved it through any optimization (local o... |
I have hourly historical temperature curve for a month say January. I also have a monthly peak and a monthly mean forecast for March 2024 (two values). Using this - How can we get an hourly forecast curve - such that the mean and peak is the same as the prediction.
A simple transformation would also work.
I thought of ... |
I'm currently working on a machine learning project where I am creating new features related to the ratio of bytes sent and received in a communications network. However, I'm facing a challenge: when the number of bytes received is zero, the ratio calculation leads to infinite values. This is problematic for my machine... |
$$ is a positive random variable (potentially unbounded) with $0 \le \mathbb{E}[X] = a < 1$.
Since $\phi(x) = \frac{1}{x}$ is a convex function, we can use Jensen's inequality to derive a lower bound:
$\mathbb{E}[\frac{1}{1 + X}] \ge \frac{1}{1 + \mathbb{E}[X]} = \frac{1}{1 + a}$.
Is it possible to derive an upper boun... |
I have a large dataset (>3000 cases) with results of serological tests. Based on these results i want to calculate the weighted prevalence of the disease. The data is categorical (0 = disease absent; 1 = disease present). 12 cases have the disease. After weighting by inverse selection probability based on the populatio... |
I'm reading contradictory information on the internet and wanted to get some thoughts on a statistical approach to use. I'll use a fictional example for the sake of easy interpretation.
I have a set of eight different dichotomous variables that represent presence or absence of a symptom. For example, 'Pain' (yes/no), '... |
I have data that represents the measurements of the concentration of PM particles in the air at different times (every hour of every day from 2018 onwards), and I am supposed to test whether the rules for the lockdown of COVID have any statistical significance. The data is split into three sets (measurements from March... |
Different questions here deal with the problem of whether to include main effects in interaction models, for example here, here and here (for the opposite problem, omitting interaction coefficients where there are interaction effects in the DGP, see here).
But I have found that the general suggestion to include the mai... |
I am looking for a sufficient imputation method for missing observations in my zip code level data, using R.
I have a random sample consisting of households which live in different zip codes within one city. My goal is to use this sample to synthesize an "artificial" census for this city. Unfortunately, the households ... |
Assuming a Gaussian likelihood, $y \mid x, w \sim \mathcal{N}(w^\top x, \sigma^2)$, the variance of the least squares estimate $\hat{w} = \mathrm{argmax}_w p(y \mid X, w)$ is $\mathbb{V}[\hat{w} \mid X, y] = \sigma^2(X^\top X)^{-1}$.
On the other hand, the distribution $p(w \mid X, y) \propto p(y \mid X, w)$ (the "post... |
I'm a medical oncologist and had some doubts concerning the stats behind clinical trials design.
My question concerned the use of log-rank vs. univariable Cox-regression to compare the survival curves between two groups. Assumed the proportional hazard assumption is met, why i see clinical trials performing the log ran... |
I would like to assess the multivariate normality of the structural equation model (SEM) in Mplus. I have a few questions regarding this matter:
How can I examine multivariate normality, specifically Mardia's coefficient, in Mplus?
Could you provide the current recommended threshold for Mardia's multivariate coeffici... |
The Ledoit Wolf paper "Honey, I Shrunk the Sample Covariance Matrix" presents the formulation for the shrinkage intensity parameter estimate in Appendix B.
The formula for a weighted covariance matrix is shown in the answer to this question, and an exponentially weighted covariance matrix would use weights with an expo... |
An independent variable is endogenous if it is correlated with the error term (source).
In the regression framework, this may happen (only?) in case of omitted variables, simultaneity, or measurement error in the dependent or independent variable. A proof that these cases lead the independent variable to be correlated ... |
I am doing some reading on kernel mean embeddings. In particular I am reading the survey paper by Muandet et al. On page 27 (Section 3.1) the authors begin a gentle introduction to kernel mean embeddings based on Dirac measures $\delta_{\mathbf{x}}(\cdot)$. Of course we have the familiar property that
$$
\int f(\mathbf... |
.002 is the median and 0.009 is the average moderation effect size in psychology, based on Aguinis et al. 2005, Effect Size and Power in Assessing Moderating Effects of Categorical Variables: A 30 Year Review, J. Applied Psychology, 90 94-107.
I mean, the effect is so small i can't not figure out how it could be of any... |
I learned that the deviations are squared for a number of reasons.
(1) They make all values positive. Otherwise the sum of the deviation would be zero. But why not just take the absolute value of the deviations?
(2) To conserve the unit. If our data were units of meters then by squaring the deviations and then taking t... |
I have to simulate a simple sensor, which has 3 standard deviations defined in spherical frame : sigma-azimuth, sigma-elevation, sigma-distance.
When I simulate a detection, I compute a noisy position using these standard deviations.
Then I have to compute the position and the accuracy in a cartesian frame centered on ... |
I have a question concerning the calculation of indices, such as the Shannon index, Inverse Simpson, etc., at a specific taxonomic level (e.g., family level) using a richness table of that particular level. For instance, if we have a count table where rows represent subjects and columns represent families, how can we d... |
Say that I compute a two-sided confidence interval. For example say I compute a confidence interval for a binomial proportion with significance level $\alpha$ as
lower, upper = conf_interval(count=95, trials=100, significance=$\alpha$)
If I only use the lower bound than I can call instead
lower, _ = conf_interval(count... |
I have a DNA methlation data for 32 samples. For each sample I have DNA methylation avaialble for >10000's of cpg bases (ie C nucleotides on DNA). I also have gene expression data from which I have estimated tumor proportion of each sample. I am trying to regress tumor proportion against DNA methylation loci's. I inten... |
Definitions: Sorry for the ad hoc terminology -- comments or answers that provide pointers to standard terminology would be much appreciated. For simplicity I'd like to restrict discussion to real-valued random variables.
"mean-parameterizable model" - a statistical model $\mathcal{M}$ (family of probability distributi... |
I have three separate glmer models investigating the individual and household-level risk factors of malaria infection in three different spatial locations: 1) outside the forest, 2) at the forest fringe, and 3) inside the forest.
The explanatory variables are a mix of continuous, binary, and categorical variables. The ... |
I have been unable to find a non-matrix notation formula to calculate prediction interval for a weighted least squares regression. For OLS, I have
$$y = \hat y \pm t\times \sqrt{\left(\textrm{MSE}\times(1 + 1/n + (x-\bar x)^2/\sum (x_i-\bar x)^2)\right) }. $$
I even have the prediction interval values from R but canno... |
This might be a silly question, but it's got me stumped. I am trying to estimate the number of bad actors in a system.
Let's suppose we have 100 users, and some percentage of them are bad actors. In our system, the users are generating clips, say everyone on average generates 100 clips. The bad actors will, some percen... |
I understand that $\theta$ is the true distribution parameter (great explanation here). I also know that $\hat\theta$ is an estimator of the true $\theta$ (so for example, MLE is an example of $\hat\theta$).
But sometimes, I also see $\theta^*$. What does it denote, and what is its relationship to $\theta$ and $\hat\th... |
I'd like to generate model an ARMA(1,1) process with a mean of zero and a standard deviation of sigma where I specify the ARMA parameters phi and theta. How can I adjust the value of sigma in the draw from a gaussian dist'n so that the output has the correct standard deviation? In an AR(1) model the adjustment to the s... |
Let $\left(Z_1, \ldots Z_n\right)$ be an i.i.d. sample with common probability mass function
$$
p_Z(j)=\vartheta^2 I_{[j=1]}+2 \vartheta(1-\vartheta) I_{[j=2]}+(1-\vartheta)^2 I_{[j=3]}
$$
Find a UMP size $\alpha$ hypothesis test for $H_0: \vartheta=1 / 3$ versus $H_A: \vartheta> 1/3$. Give an explicit formula determin... |
I have been working on a Classification problem. And I want to see how many features associate with the target variables.
Let me share an example. I got this pairplot using
target = 'Occupancy'
sns.pairplot(df, hue=target)
plt.show()
A bit of data's background: This data is about predicting room's occupancy (occupied/... |
I am trying to understand why large amounts of censoring (ie. many patients are censored) is undesirable in Survival Analysis.
As a proof of concept, suppose there are 5 patients - all patients enter the study at the same time:
patient1 has event at t1
patient2 has event at t2
patient3 drops out of the study at t3
pat... |
I have a publication that provides a linear multiple regression equation from a meta-analysis. LOOCV was used to select the explanatory variables included in a final model from all possible models. A regression equation is provided in the publication. I want to calculate $\hat{y}$ for a new set of values and estimate t... |
If I know about an omitted variable in the regression and the data for it is available. But I also know that this omitted variable is endogenous, because the dependent variable and the omitted variable cause each other (simultaneity). Should I include the omitted variable and does that introduce new problems for my var... |
It appears to me that I can include all variables in the dataset into a causal forest (whether or not they are confounders), as the model would conduct feature selection to identify important variables to determine the treatment effect.
Is the above statement true? If yes, then what would be the point of conducting Cau... |
You are working on a binary classification problem with 3 input features and have chosen to apply a bagging algorithm (Algorithm X) on this data. You have set max_features = 2 and n_estimators = 3. Each estimator has an accuracy of 70%. Algorithm X aggregates the results of individual estimators based on maximum voting... |
The VAR process is defined as:
$$\begin{align}
\mathbf{y}_t = A_1\mathbf{y}_{t-1} + \dots + A_d\mathbf{y}_{t-d} + \boldsymbol{\epsilon}_t, \quad t \in \mathbb{Z}
\end{align}$$
where $\boldsymbol{\epsilon}_t$ is a whitenoise process, in particular $\mathbb{E}[\boldsymbol{\epsilon}_t] = 0$ and $\mathbb{E}[\boldsymbol{\e... |
I have read that centering the values of predictors (subtracting the individual, $i$, value from the group mean, $j$, value or the grand mean) in a multilevel models aids in the interpretability of multilevel modeling output.
Oftentimes, a motivator of adopting a multilevel model is the presence of panel data, with rep... |
For an exam (results for this exam do not need to be entirely accurate and explain the all variations in our variable) I am doing an analysis of (all countries in the world) of whether parliaments with a higher percentage composition of women, tend to engage in less wars as aggressor. The data model I've created spans ... |
I am confused with this logical thinking:
The quote is from the book “The art of ML” by Matloff
He is working with the dataset https://www.kaggle.com/datasets/joniarroba/noshowappointments
I agree with ID columns, but… Why would you not include neighborhood? It seems a good feature, (neighborhoods with bad public tran... |
Suppose we have the following heteroskedastic trending regression model: $$y_i=bi+a_i u_i$$ for some sequence of non-zero constants $a_i$ and $u_i$ an i.i.d. sequence of mean 0 and variance 1 random variables. I want to find the asymptotic distributions of the OLS and unfeasible WLS estimators and compare their efficie... |
I've been making regression models for quite a while now, I am comfortable with the idea that $$y = \beta_0 +\beta_1x^2 \text{ is linear and } y =\beta_0 +\beta_1^2x \text{ is not}$$
but I've never really understood why that is. In my mind, we're assuming $\beta_1$ is a fixed number, so why can't we just say $\beta_{ne... |
For a variety of reasons, many researchers have suggested that, for attempting to make causal inferences with non-linear statistical models, one should generally avoid endowing a causal interpretation to raw model output (Mood 2009, Daniel et al. 2020, Norton et al. 2019, Long and Mustillo 2018). Instead, model predict... |
I have these survey results that came from the marketing team in my company. The survey has a few questions that you can choose up to 3 or 5 items from a list. I don't know the name of this kind of question and would be delighted to know more.
We plotted the results in a bar chart and it is clear to me that some of the... |
Context: I have an ever-growing data set of samples. (It consists of around $500$ samples currently.) Each sample in this set is an $m \times 3$ matrix where the $m$ rows represent $m$ different measurement sites and each row holds a $3$-dimensional vector that is measured at that site. The same measurement sites ar... |
I am using a marginal structural modeling approach to adjust for time-dependent confounders, looking at the risk of developing disease. I have used tmerge in R to account for the time-dependent variables, then created weights with ipwtm that are fed into a Cox model to calculate hazard ratios. However, I have noticed t... |
I have run fixed in time Cox models (crude and covariate adjusted) for the effect of a binary exposure. Sample size is approx. 200,000 and there are approx. 10,000 events and 4000 "yes" values for the exposure.
I am concerned and confused by the very large values of the scaled Schoenfeld residuals, please see plot belo... |
I am running a mixed generalized linear model to analyze insect capture in a baited trap. The experiment consisted of 3 separate cages, in each one one treatment (C+, C- or T) and 10 insects were placed. The next day the number of insects captured in each treatment was counted. I have an experimental series in which th... |
I'm new to Gaussian process regression (GPR). My recent work is to model some longitudinal data with GPR.
I have learnt so far that GPR was highly flexible non-parametric method and the kernel determined the behaviour of GPR model. However, in longitudinal data modelling sometimes with the entry of new observations the... |
Quantile regression at quantile $\tau$ minimizes the following "pinball" loss function, $L_{\tau}$, and elicits conditional quantile $\tau$.
$$
l_{\tau}(y_i, \hat y_i) = \begin{cases}
\tau\vert y_i - \hat y_i\vert, & y_i - \hat y_i \ge 0 \\
(1 - \tau)\vert y_i - \hat y_i\vert, & y_i - \hat y_i < 0
\end{c... |
I am working on analyzing a dataset from a diary study (6–14 repeated measures per participant). The sample I have consists of 2 groups (1 with expertise, 1 without) that are thought to differ on many of our key variables. I have more participants in the experise group (200) vs the non-expertise group (150).
I had been... |
In $lm$ models in R it is possible to use inverse.predict for predicting input value given a output value. But I can't find code making it for $lmer$ models. Do there not exists code for that in R?
|
I have a large data set of records that reflects specific detections of PIT tagged fish by antennas over many years. Here is a link to the data, though I will try and explain best I can.
Each individual fish id is determined by MostRecentTag which has a corresponding location and DateTime associated with the detection.... |
Suppose $x_1 \cdots x_n$ are iid random variables with normal distribution of mean $\mu$ and variance $1$, and $\overline{X}=\frac{1}{n}\sum_i^n x_i$
What is the conditional distribution of $\begin{pmatrix}x_1\\\vdots\\x_n\end{pmatrix}|\overline{X}$?
Lecture slides show that the distribution will be a normal distributi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.