instruction
stringlengths
9
38.7k
Recently, I have learned about the principle of Maximum Entropy with regards to Probability Distribution (https://www.youtube.com/watch?v=2gTrsLVnp9c) - in particular, when certain "information" (i.e. constraints) is available about some class of probability distribution function (e.g. domain over which the probability...
I have performed multiple imputation in mice and created a dataset of 100 imputed data sets and then used MatchThem to perform propensity score matching. I can assess the balance of matched data sets with the bal.tab function in the cobalt package, but I would also like to know the average background characteristics of...
Recently, I have learned about the principle of Maximum Entropy with regards to Probability Distribution (https://www.youtube.com/watch?v=2gTrsLVnp9c) - in particular, when certain "information" (i.e. constraints) is available about some class of probability distribution function (e.g. domain over which the probability...
I'm running a LMER (in R) on some behavioural data where I have one observation per participant per condition. However, I'm unsure whether it is the appropriate analysis. The data is in the below format (note: I cannot break down meanSV into the individual choices it was derived from): PID comparison differenc...
I am working on a math problem with some friend and there is some disagreement on the meaning of what we are doing. We have 3 independent variables measured tens of thousands times and we have a model that defines 5 dependent functions that depend on the three independent variables. In other words, call X,Y,Z our indep...
I want to fit a line to $N$ 3D data points $(x,y,z)$, where $x,y$ are fitted and $z$ is fixed for all data points. To fit the data, I use the following $\chi^2$ fit: $$ \chi^2(a, b)_h=\sum_{i=1}^N \left (\frac{h_i-a-bz_i}{\sigma_i}\right) $$ Would it be correct if, to receive the best set of parameters, the following i...
I am exploring various methods for sample size calculation and power analysis from binomial data, and frequently coming up against ragged power curves that go up and down as sample size increases. I know this is to be expected when the parameter space is discontinuous, but my question is how to deal with this situation...
I am trying to derive the cumulative density function(cdf) of $t$-distribution, define as in https://en.wikipedia.org/wiki/Student%27s_t-distribution#Cumulative_distribution_function I derive it by the following steps: $F(x)=\int_{-\infty }^{x}\frac{\Gamma (\frac{v+1}{2})}{\sqrt{\pi v}\Gamma (\frac{v}{2})}(1+\frac{t^2}...
Has the following --dishonest-- approach been discussed somewhere? Has it a name? I am trying to grasp what intrinsic assumption it violates but I am struggling to find the relevant keywords for the search... Suppose that some experiments produce the following results (p-values): > p = c(0.0019, 0.0298, 0.4262, 0.5719...
I have read somewhere that the k of the k-fold CV should be picked in such a manner as to have representative validation sets (folds). This seems to me to be contradictory since the leave-one-out CV has only one sample as a fold, which clearly can't be representative of the dataset (I refer to one fold only, the whole ...
I have regression/classification problem. Dataset contains data from 4 sensors on 4 positions (1,2,3,4). Processes measured on all 4 positions are equivalent and same label and features describe all 4 positions, but data is not strictly the same. I am considering 3 options: ignore position -> one data set, one predict...
I'm an Econometrics beginner and I'm sorry if the title is confusing. I basically have a variable “unemp” which gives me the unemployment, the dependent variable of this model should be the change in unemployment. How do I proceed? I'm working in Gretl and tried defining a new variable with unemployment(t)-unemployment...
Came across an interesting problem: Let X and Y be independent random variables such that both X and Y ∼ Exp(1). Define L = min(X,Y) and H = max(X,Y). What is ρ(L, H)? Why must the correlation should be positive? I'm confused by how to figure this out. So far, I've defined D to be a random variable tracking the amoun...
The wikipedia article on scoring rule says that It is applicable to tasks in which predictions must assign probabilities to a set of mutually exclusive outcomes or classes. The set of possible outcomes can be either binary or categorical in nature, and the probabilities assigned to this set of outcomes must sum to one...
I am struggling to understand my Multinominal Logistic Regression. This is my first time ever tackling such a model. Note that I was following this recipe. I am trying to predict the redemption rate (shareholders that wish to refund their money from their SPAC investment) with the predictors shown below. The dependent ...
Suppose in one year I had a survey with 7-point scale and the values are like Scale7, 1: 28% Scale7, 2: 12% Scale7, 3: 10% Scale7, 4: 15% Scale7, 5: 15% Scale7, 6: 10% Scale7, 7: 10% where % are the percentage of responses for each scale from the sample size. Now for next year if I have survey on the same question but...
I'm analysing a highly stationary time series and while plotting ACF and PACF I noticed a strange bump at a later lag very close to the 0.5 threshold level. Does it affect the AR degree=2 and AM degree =1 in the ARIMA model? Results of Dickey-Fuller test Test Statistic -6.218402e+00 p-val ...
I am currently trying to get the hang of BERT and Transformers, so I worked through the Paper "Attention Is All You Need". Now I have a hard time understanding how the Key-, Value-, and Query-Matrices for the attention mechanism are obtained. The paper itself states that: all of the keys, values and queries come from ...
I am going over Stef Van Burren's "Flexible Imputation of Missing Data" and don't understand why Table 1.1 from section 1.3 below gives the standard error for listwise deletion as too large. In more detail, section 1.3.1 states "Under MCAR, listwise deletion produces standard errors and significance levels that are cor...
I am studying statistics, and I came across a problem that I am not sure if what I am doing is correct or if there is some other way to do this. Any feedback is appreciated. I divided in 2 problems, first for clarity, and second because the if there is something wrong in problem 1, than problem 2 is also wrong. Problem...
I noticed that I am getting different feature importance results with each random forest run even though they are using the same parameters. Now, I know that a random forest model takes observations randomly which is causing the importance levels to vary. This is especially shown for the less important variables. My qu...
I have 4 matrices of size 686810 each. To understand better, we can represent each matrix as a graph of 68 nodes. For each node I compute betweeness centrality, strength, clustering coefficient, and vulnerability. So, for each parameter for example betwennes centrality I have a matrix of 10*68, and the same for the res...
I am having a bit of trouble understanding the difference between a confidence and prediction interval in the context of linear regression, and in what scenario we would use either of them. I've posed a scenario below to show what my current understanding is, can anyone confirm my thinking is correct? If not, can you e...
As a biologist with some background in mathematics I am really interested in mathematical modelling of biological processes, like tumor development or therapy responses. However, looking at recent publications especially machine-learning algorithms seem to very popular. As a matter of fact, I don't really understand th...
In the following image, taken from paper on Variational Autoencoders by Dr. Kingma and Dr. Welling, it is mentioned that probability of the data points given the parameters factorizes into product of individual probabilities. However, it is denoted as P{subscript theta}(D) instead of P(D|theta) and it is also later ref...
I have recently been bootstrapping the confidence intervals of a neural network model estimated to data. I execute the following psudo-code, which seems similar to previous bootstraps I have done: Take all observations of data $x_i$, estimate $\hat{y} = \hat{\theta}(x_i)$ Resample $N$ observations from the set of $x_i...
I'm working on measuring the usage patterns of an app for a population of users. I want to find out if they usually log in at the same hours or if their usage times vary a lot. The variance of the logging hours (e.g. 6pm, 7pm, etc...) would allow me to measure it for one user. But I want to measure this for several use...
I'm working on an experiment where I collect 3 categories of reaction time data form subjects who are video game players, distinguished by the game that they play (eg. RTS, FPS, MOBA). I wish to compare the group differences based how performance indicated by the reaction time categories might contribute to their game ...
I have a random variable $X$ which is related to another random variable $Y$ as $Y = \text{cos}(X)$, where $X \in [0, \pi/2]$, and I would like to know what distribution I should sample $X$ from in order that $Y$ has a uniform distribution. A simple Jacobian transformation says that $f(Y) = |\frac{\partial X}{\partial ...
I have a basic question. I know you have to scale your variables (fixed effects) when you have several continuous fixed effects, to be able to compare them. However, if I only have one continuous variable and the rest of my fixed effects are factors, should I scale my continuous variable? I'm centering, but I'm unsure ...
Consider I have in situ measurements (samples) of 4 variables: Temperature, salinity, pH, depth I know how temperature will change and want to calculate the expected change in my other variables salinity and pH. Depth is fixed for each sample and cannot change. The variables are correlated to each other. I can do a lin...
I see a lot of kaplan-meier plots for survival analyses, and many distinguish between groups (usually male or female). I was wondering if it was (statistically) possible to distinguish between more groups (for example: male, female, child, adult), or if that violated some assumption? I have seen Aalen-Johansen estimate...
I want to see what percent of a market of listeners on a livestreaming platform my sample of top 100 musicians with the highest number of average listeners during a given month has. I only have average number of listers active during the month on the platform and each musician's average and peak number of listeners. Sa...
I am doing my research on perceived stress and happiness mediation effect of meaning in life. My results showed direct indirect and total effect as negative. Only b path is positive. Please help me is it OK or flawed?
I understand how a random sample $x_1, ..., x_n$ following the Uniform Distribution with $0 \leq x \leq \theta$ has a log-likelihood proportional to $\frac{1}{\theta^2}$. I am told that the MLE for $\theta$, or $\hat\theta$ to be exact, is then equal to the MAXIMUM of $x_i$. This doesn't make sense to me, because the l...
I am following a tutorial in which we are looking at a risk regression model (the Cox’s proportional hazards model. In particular, the hazard rate is modelled as $$ \lambda(t) = \lambda_0(t) \exp(\mathbf{x}\beta)$$ where $\mathbf x$ is a vector of covariates and $\beta$ are the coefficients. The tutorial goes on to say...
I'm doing some model-based reinforcement learning, and I'm stuck at how to better design the loss function for fitting the dynamic model of the environment. In continuous state and action space, the common practice is to perform a regression to predict $S(t+1)$ given $S(t)$ and $A(t)$ where $S$ and $A$ are states and a...
I am working on a regression model, more precisely, multiple regression model for predicting one single value. I have a dataset of cars and some technical data. For example, I have the following prediction for the following car data: Make: Volvo Model: XC90 T8 Recharge AWD Doors: 4 Seats: 7 SeatsMin: 7 SeatsMax: 7...
I am running a mediation model using the r mediation package, but I am not getting the correct output for my variable types. I have a continuous predictor, but the output is treating my predictor as a categorical variable. In short: Predictor = cognitive test score [Composite_Z] (continuous) Mediator = self-awareness [...
I'm trying to get my head wrapped around competing risk regressions using this tutorial, and I'm a little confused on how to specify the model correctly / how to understand the output for the model I am specifying. Using their example. Status has 3 values 1, which is death by cause a, 3 which is death by cause b, and 2...
I've been trying to figure out how to test (in R) if there are significant differences between the group means of my data because it seems to violate the assumptions of tests that do this (ANOVA, Kruskal-Wallis). The obvious problem I have is that my data have large differences in group variability and relatively small...
I am predicting the electrical load and I also use the predicted temperature as one of the input feature. For example, I want to predict the electrical for tomorrow. I use the predicted temperature for tomorrow as an input feature. Since in the real application the prediceted temperature will have an error, I want to a...
I am trying to compute the cumulative distribution function of a random variable $u$ that has the following density: $$f(u) = \int_{1}^\infty \frac{e^{-4uv}}{v^5}dv$$ for $u \gt 0$. What I've tried I've tried computing this integral, giving a function $f(u)$, and then calculating $\int_{-\infty}^x f(u) du$, obtaining...
In a uniform distribution where $0\leq X \leq \theta$, the pdf is represented as $f(X|\theta) = \frac{1}{\theta}I(0\leq X \leq \theta)$, and the likelihood is $L(\theta) = \prod\frac{1}{\theta}I(0\leq X \leq \theta) = \frac{1}{\theta^n}I(\max \ x_i < \theta, \min \ x_i > 0)$. This makes logical sense to me, as the $x_i...
So there has been similar posts but none of them solves my problem, so I decided to created a new question. I'm working on a regression project where I intend to use CNN to predict material properties, from simulation results. There are obvious relations between the input (images, containing material information) and t...
I have a high-dimensional data matrix with K observations and N variables. To predict the label for each observation, I use some dimensionality reduction method (let's say PCA). Now I have K observations and M reduced dims. Observations are then clustered and labeled based on PCs (10 first PCs or so). I also have a tar...
So i currently have a data set consisting of the Year, Credit Hours, and Number of students. I have been trying to predict future credit hours by the number of students. df <- data.frame("year = c(2018,2019,2020,2021), "student" = c(1000,1200,1350,1450), "credit" = c(4000,4300,4730,4250)) mod <- lm(credit ~ ye...
It looks interesting to me to know about the variables related to the students performance, so I started to look into the following dataset: https://archive.ics.uci.edu/ml/datasets/Higher+Education+Students+Performance+Evaluation+Dataset One of the first things I noticed was the nature of the dependent variable. OUTPU...
I have a neural network with three output neurons $X_1$, $X_2$ and $X_3$ with output range in [-1, 1]. I have many training data split in 80:20 ratio between training & testing sets. While looking at the output of the neural network, I noticed a big thing that the neural network haven't learned. There is a restriction...
I'm trying to understand message passing algorithms, especially for the specific application of performing conditioning in a Bayesian network. My question is wether there is a mathematically precise reference on these kinds of method. By this I mean a text in which the algorithms are specified formally. The literature ...
I've been trying to analyze the result from my experiment. But since I'm new to the field of statistics, I'm struggling in every step, including the interpretation of results. I have 4 groups of subjects, and each subjects made a choice between 3 options(A or B or No choice). I wanted to show that "Being in Group4" cha...
I have a large dataset that contains a variety of environmental characteristics (air temperature, tree cover, insect counts) as well as bird abundance data for each point. I was talking with my friend who suggested that I use two PCAs (one with the environmental data and bird data, the other with only the bird abundanc...
Is there any unbiased estimator for the regression coefficient $\beta \in \mathbb{R}^p$, p >> 1, where $$ y_k = x_k^T\beta + \epsilon \in \mathbb{R}? $$ Note that $x_k \in \mathbb{R}^p$ and $\epsilon \sim \mathcal{N}(0, \sigma^2)$, for some $\sigma > 0$.
I have a household travel survey data, which consisted of the number of vehicle owned for each of the household, household income, job, and household size. However, the data didn't show the brand, engine size, and types (SUV, sedan) of the vehicles that is owned by the household. I have another data that shows the bran...
I get a following score plot for the breast cancer dataset. The score plot has been clustered into two categories. I want to know what inferences could I draw from it?
I am relatively new to PCA and can't find a sufficient answer to my question. I have got a multivariate timeseries dataset of the shape [1200 (Samples), 100 (Timesteps), 18 (Variables)]. I want to apply PCA to find the most important variables of this dataset. As PCA works only on 2D Arrays, I reshaped the dataset to t...
I'm after some statistics help with generalised linear mixed models. I have built a model using glmer from the lmerTest package in R to fit my data with a gamma distribution. The formula is as follows: gammaFPtime4_id <- glmer(firstPress ~ Condition + tStyle + Condition:tStyle + PHQ9 + Conditio...
I am comparing two algorithms on the same input data. Now I want to see whether the difference in output is significant. For this I need to use the Wilcoxon signed-rank test, since my data is paired and not normally distributed. However, there is one big outlier in the differences of the algorithms, which causes it to ...
Could someone help me with this derivation? How do I get to this expression of $k$? $y_i=\beta_0+kT_i+\beta_1X_{1i}+...+\beta_kX_{ki}+u_i$ $k = \frac{Cov(Y_i, \tilde{T_i})}{Var(\tilde{T_i})}$ where $\tilde{T_i}$ is the residual from a regression of all other covariates $X_{1i}+...+X_{ki}$ on $T_i$.
I have been given a brief of replicating statistical analysis which was done previously to verify results. Data being collected are body weights of male and female mice over 20 weeks, given a treatment or placebo: (Healthy-Placebo, Healthy-Treated, Diseased-Placebo, Diseased-Treated) across both sexes. The original ana...
I would like to compute the marginal R squared for the whole factors from an anova table. This post shows how to get the effect size for each fixed effect based on the r2glmm package but it does not seem to work to get the whole factor. Here is an example: library(lmerTest) library(r2glmm) set.seed(1) df <- data.fram...
I have a Cox Proportional Hazards model and I'd like to check if there are statistically significant differences between ECOG groups 1 and 2 (HR: 1.32 vs HR: 2.19). I have thought of doing a paired t-test but I am not sure if that is the right way of doing it. I am not sure if a logRank or a Mantel Haenszel would be ap...
I'm reading about $\beta$-VAE which essentially proposes a way to disentangle representations in the latent space. We can subjectively (I guess) identify axes carrying specific sources of variations of (for example) an image and modulate them to produce variety on generated instances. Shortly speaking what we do is mod...
I have noticed that (from the original BERT paper) in the MLM training procedure, the authors decide to mask 15% of the words in a sentence. The mask works as following: The masked words are distributed as follows 80% are replaced with [MASK] token (which makes perfect sense, just teach the model to learn some words g...
While reading this paper I've noticed that they use what they call negative dice coefficient. I know that in general the dice coefficient is a metric commonly used in image segmentation tasks when we want to consider such an overlap measure. Consequently, a penalty to be added to the overall loss function can be define...
I'm making a churn model. My observation window (historic data) length is 3 weeks. There are some users that are not been registered to the app that I'm analyzing for three weeks, and as a result, I don't have data for their behavior before two or three weeks. One solution that I thought of is to initialize with zeros...
I’m using the {MuMIn} package in R to select models (dredge, get top models, average etc). My question is about whether I need to, or should, standardise my variables. I have five continuous variables (one of them the response variable), all on a scale from 0 to 100. I also have three categorical variables (two binary,...
I have a phyloseq object with 4000+ taxa and 300+ samples. What methods/packages can I use to perform feature selection to reduce the number of taxa/OTUs prior to performing random forest? I was hoping to check correlations between different taxa. I'm planning to use the taxa as predictors of disease (i.e., disease~.)....
I am working with SVD on a matrix $$Y_{m,n} = T_{m,m} \Sigma D^T_{n,n} $$ where $T$ and $D$ describe the row and the column entities of Y, respectively. The truncated SVD takes the first $r$ eigenvalues and reduces as well the dimensionality of the problem: $$ \hat{Y}_{m,n} = T_{m,r} S_{r,r} D^T_{r,n} $$ Instead of loo...
Can you calculate the time at set risk from proportional hazard models? Say I've got my model built for the whole population. The risk of developing an event in one year is 5%. After stratification, some patients have a higher risk, some lower. How do I get a value, per patient, that will tell me the time at which they...
In case of VAE, it is said that the posterior distribution is intractable because the marginal likelihood is intractable. My understanding as to why marginal likelihood is intractable: z can have infinitely many possible values, which means the integration will have infinite standard operations. Hence, it will not be ...
I am sampling an arcsine distribution, with probability density function $F(x) = \frac{1}{\pi\sqrt{(x - a)(b-x)}}$ which is defined between $a<x<b$. I want to estimate $a$ and $b$, that is, the minimum and maximum values of the distribution. My approach is to sample the distribution many times and then use the minimum ...
As predictor X I have particle size distributions and I would like to run a model y ~ X. I.e. each trial has a response y of size N and a predictor X of size N*M. The easy way would be to get some quartiles from each distribution and run a model y ~ X[q10] + X[q50] +X[q90]. However, I would prefer to do something with...
Let's say we have House Prices across different cities (Bristol, Brighton, London, Glasgow) across time (Monthly data from 2016-2020) and we're trying to predict it using unemployment and crime. t = time period (months) i = city HPit = B1crimeit + B2unemit + uit Would we interpret the beta coefficients differently from...
Given a set of $n$ values, the error associated with their average will be $$\text{standard deviation}/\sqrt{n}.$$ But if the values themselves have an uncertainty attached to them, such as $100\pm 1,$ $110 \pm 1, \ldots$ is the previous formula correct?
I have ARIMA(1,1,0) model: (1-ΦB)(1-B)X_t = ε_t Where ε_t ~ WN(0,σ^2), |Φ|<1, DX_0 < ∞. How do I calculate the autocorrelation function?
I am conducting a study where I am randomly assigning people to different conditions. Because I am recruiting from a representative sample in the US, there will be some variability in the demographics (although not too much since random assignment takes care of that). Is it possible to test that the variability in the ...
Linear models are ubiquitous in economic, social, health and nutritional sciences and the starting point for much research and many articles. However, there is a problem with linear models. When the true underlying model is more complex and not exactly linear, then the estimated coefficients might be counterintuitive a...
I am doing an experiment where I track the behavior of larval zebrafish of 3 genotypes during a photomotor assay. The larvae are a result of a heterozygous cross, so following the experiment I genotype each fish to determine whether that data came from a wildtype, het or mutant. The tracking software provides measureme...
I'm a novice to DS, so feel free to correct me. Imagine we have $N$ biased coins each with different probability of getting heads (which are known to us prior). What's the probability of getting $k$ or more heads? Trials are independent and $0<k<N$. Is there a general or computational method of calculating this? Does i...
I want to analyse the association between the outcome "Other CTR-CVD" and the independent variables would be "anthracyclines", "Her2", "VEGF", "TKI, "Prot Inh", RAF/MEK Inh, "ICI" and Fluoropirimidines" (this are the 8 first rows of the table I have with the date of 296 patients)
I have data in the shape (batch, seq_len, features) that is a time series sliding window. In essence, I'm using the most recent seq_len steps in order to predict a single target variable. This means that the output of the last seq_len value in my MultiHeadAttention layer should be the predicted value. I've made many at...
Let $p$ be the number of parameters in a linear regression model, let $n$ be the number of observations, and let $p>n$. $$\mathbb E[Y\vert X] = \beta_0 +\beta_1X_1 +...+\beta_pX_p$$ Does the Gauss-Markov theorem still say that the OLS solutions (under the usual conditions for Gauss-Markov to apply) for the $\beta$ vect...
Currently my output stems from the follow code: echo_sum <- echo_sub %>% group_by(sercs_studyg) %>% summarise(across(.cols = everything(), .fns = list(median = ~ median(.x,na.rm = TRUE), iqr= ~IQR(.x,na.rm = TRUE), n = ~length(.x)), groups = 'keep')) This gives the following outpu...
There is really few examples online regarding interpreting learning curves and they are all of different type.It is quite confusing to me honestly.May I just ask: How should we interpret them?What should we look out for? How can we discover overfitting or underfitting using it (The first image metric is MAE,the secon...
If the AUC score is 100 percent can the F1 value be 99.94 percent? I would expect 100 percent, too.
For short detail, the goal was to forecast using 51 monthly observations of KPI of project implementations which I aggregated by sum from 463 observations from about 4 years of data (May 2017 to July 2021). I used Python's pmdarima auto_arima() to determine the order for p, d, q and was given ARIMA(0,1,1). By the end, ...
I am given a sequence of $40$ ones and zeros and I have to test the null hypothesis that ${40 \choose n_1}$ sequences are all equally probable ($n_1$ being the number of ones). To do so, I have to use the number of times that 1 became 0 and vice versa and then apply normal approximation. What I did so far is define $Z:...
I am considering doing a propensity score matching to evaluate the effectiveness of a intervention. However, i only have 193 cases in my treatment group. I have a lot in control group. My outcome is a categorical variable with five categories. in this case, do I have enough sample size? How can I determine how big the ...
Simple scatter plots or a correlation matrix can be misleading since they aggregate all years together. What would be te best way to visualise relationships between variables taking time into account? For example, the scatter matrix below shows relations between certain variables, but aggregates the data for all the ye...
I was curious about the statistics behind the game of rock, paper, scissors. Let's say n people are playing, where n is greater than or equal to 2. If when all n people reveal their play and only 1 or all 3 options appear, that round is deemed indecisive, and they just play again. If when all people reveal their hand ...
I need to compute the conditional probability of bivariate normal distribution over a line. Let's suppose that X and Y both are normal distributions and that they are independent. Let's suppose that we want to find the probability that a point 'k' will be on the line L= aX+bY=c. To do so we need to compute the followi...
Is there any other unbiased estimator of regression coefficient than OLS? For instance, one might consider using unbiased estimator with less computational cost (since OLS involves matrix inversion)?
I would like to know how to calculate the probability of being profitable on an event where there are multiple scenarios. For example paying 5 dollars to grab a bill from a box box full of bills where there is a 1% chance of grabbing a 100 dollar bill, a 5% chance of grabbing a 20 dollar bill, a 10% of grabbing a 10 do...
What is an intuitive explanation of the odds scale? In a logistic regression such as $$logit(p) = \beta_0 + \beta_1 x$$ we often interpret $\beta_1$ by looking at the odds ratio, $e^{\beta_1}$, which has the interpretation that a unit increase in $x$ is associated with a change in the odds of "success" by a factor of $...
I'm getting the warning boundary (singular) fit: see ?isSingular with this dataset set.seed(12) x=rnorm(600,50,9) error=rnorm(600,0,16) y=150-(4*x1)+(2.5*x1)+error ID = rep(c("ID1","ID2","ID3","ID4","ID5","ID6"), each=100) t = rep(c(1:100), times=6) df <- data.frame(x=x, ID=ID, y=y, t=t) m <- lmer(y ~ x + (1|ID), data...
Say I have a VAR(p) model without any noise (a multidimensional AR model without noise). How would I go about calculating the coefficients that are MSE optimal? Is there an extension to the Yule Walker equations for multidimensional data? Edit: Maybe an equation like the following would help? $\hat Y_{k+1}^{}=AY_{k} $ ...
In Orre 2000, the author provides an asymptotic approach to computing the variance of information component and conditioned posterior distribution. In part 2.2 weights and information components So far we have used the Gauss' approximation for the variance of a function, i.e. $$V[g(X_1,\cdots,X_k)]\approx\sum_{i=1}^kV...
I have a database holding 10-ish features that describe different breeds of dogs. They are mostly categorical features, but some provide ranges for values. Here's a demo representation of the database, showing the mixture: |Breed|Min_Height|Max_Height|Min_Weight|Max_Weight|sub_cat|is_friendly| |------------------------...
I'm now working on conditional generative models, but it confused me in the training process. My process: split training and validation set, and a held-out test set train the model and evaluate the validation set using the same loss as the training set Here I have two main questions: Is it rational to use the same l...