instruction
stringlengths
9
38.7k
I got age data (in years) of gas heatings from a random sample of about N=700 participants. So participants were asked how old their gas heating is in years. Now I like to model that age distribution (curve fitting) as well as the breakage rate within a given timeframe (e.g. within 1 year - so how many heatings may bre...
I am trying to find a good summary statistic (next step is going to be inference) for my problem. I have observational data that is images for patients (factor1) with different conditions (factor2) that is coming from 3 locations (factor3). The images was measuring multiple skin marker areas. Now the thing is not all p...
I am confused about the rule of the slope in the simple linear regression model. I do understand that the slope indicate the rate of change in the response variable, Y, when the explanatory variable, X, is increase by one unit. For example, Suppose I have the following simple linear regression equation, where Y is the ...
I am estimating a simple difference-in-difference model with four countries, ES, FR, DE, and NL. In each country, there are 3 firms. Say I have four time periods, 1, 2, 3 and 4, where ES and FR are treated in period 3 and 4. Now after creating and indicator variable for $\text{post} \times \text{treated}$, I can estima...
Suppose we have a list L of all root words in English numbered from 1 to n. The data is any English text (let's say a text from a book) where each word is replaced by its root. You are given the data word by word. Suppose we have a random variable $X$, which represents the number (in the list L) of a root word. When do...
I am conducting a study on patients with small follicles in their ovaries, diagnosed by ultrasound. Different drugs are administered to these patients, and they also have varying hormonal levels. After the last dose of the drug, we count the number of grown follicles using ultrasound. We define the ratio of "grown foll...
I have a list of individuals and their success rates on a task. The count of tasks for each varies widely, so the uncertainty in the estimates of their proficiency varies. Furthermore, typical estimates for confidence intervals will have a lot of overlap. Suppose something like this: person tasks completed count of...
I'm aware that it's best practice to do all pre-processing within train-test splits, including data imputation. At least, it's recommended not to use the test data to generate the imputation model for the training data. However, I'm struggling to find a demonstration (either a concrete example or something more abstrac...
Is there a version of Shapley values that does not assume independence of features, and can be used to interpret importance of clusters of "similar" features (by adding individual feature importances for example)?
Below you will find the Figure of the path model that I wrote in Rstudio. model2 <- ' #direct effect INT ~ e*PN PN ~ d*AR AR ~ c*AC AC ~ b*PB PB ~ a*BV #indirect effect ed := e * d edc := e * d * c edcb := e * d * c * b edcba := e * d * c * b * a totalind:= ed + edc + edcb + edcba total:= e + ed + edc + edcb + edcb...
I am working on a subject called The determinants of NPLs in a country (NPL = non performing loans). My data is a dynamic panel data of 15 years and i got my data yearly. The dependent variable is npl ratio and i have 8 independent variables. I have run tests on stata that i will mention below The vif test showed no m...
Can somebody help me interpreting this results for VECM? (VAR.select function chose 12 (or 1 and 2) as the appropriate number of lags, so I chose 11 lags) How can I put below result in equation?
I want to find out whether two groups of people (with and without Autism) differ in their interpretation of ironic compliments and ironic criticisms. To this end I did a study with (26?) persons without autism and (?) persons with autism. All participants first had to read 10 stories, with a remark at the end that cou...
I am reading the paper Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification and I can't understand why (see p.4): $E[x^2_l] = \frac{1}{2}Var[y_{l-1}]$ Let $w_{l-1}$ (weights of layer $l-1$) have a symmetric distribution around zero. Let $b_{l-1} = 0$ (the biases of layer $l-1$)....
I am working with images collected over time from a fixed camera. Since the scene doesn't change for long periods, my effective sample size is much lower than the actual number of images I've collected. I would like to compute the effective sample size (ESS) for my data as described here. However, since each of the dat...
It looks for me that WAIC and Bayes Factor are very similar in some circumstances. If we assume an equal prior for each parameter set Q (p(Q)), the Bayes Factor integrates p(y|Q) over the Q space (y is the data), providing the probability of obtaining the data under the model - p(y). The WAIC formula appears to have a ...
Is there a way to do a multiple comparison test (similar to tukey HSD test) of coefficient estimates from a mle2 model in R? Here is my specific application: I have a large dataset containing observations of the woody plants used by browsing animals. The data set contains the species of each woody plant, the height of ...
I have data where the objective is to use supervised learning to predict 4 different outcomes. Say the classes are 1, 2, 3, 4. Though discrete, they are also hierarchical, where class 2 is of an extreme 'nature' than say class 1. My question is how do I redefine the label column in such a way that it incorporates the h...
I'd like to sample from the Bayesian Posterior of a Gaussian mixture model, but I am not sure about the correct Bayesian formulation of the latter. Is the following correct? I consider the 1-dimensional setting and want to work with a $K$-component mixture. I start with artificially generated data and want to learn the...
I am looking for some advice for a research project I am working on. My project involves analysis of fish abundance data from rivers around NSW Australia, with an aim of assessing the impacts of dams on fish communities. I have thousands of observations in my dataset from a number of rivers, and each has electrofishing...
I have a dataset consisting of 1000 in-vitro fertilization (IVF) cycles from a total of 700 patients. Each cycle has several variables, including; the total number of follicles the patient had in that cycle, the total number of oocytes retrieved from those follicles in that cycle (oocyte count cannot be larger than fo...
I was reading a paper on kernel regression, and the paper defines a non-negative kernel as regular if there exist $b > 0$ and $r > 0$, such that: (1) $K(x) \ge b I\{x \in S_{0,r}\}$ (2) $\int \sup\limits_{y \in x + S_{0, r}} K(y)dx < \infty$ (Here, $x$ is a $d$-dimensional vector) I understand what all of the symbols o...
Let's say I want to compare the life satisfaction of horse owners (approximately 5% of the sample) to dog owners, and I have n=10,000. In another context, I would say I have a very large sample size, which would probably impact my p-values, but because the subpopulation of interest is so small (only 500 subjects). I wo...
I would like to know more on the relation between non linearity and interaction effect. For example, if we have a linear model of the form $$ y = \beta_0 + \beta_1x_1 + \beta_2x_2 + \epsilon $$ we know that when we want to test for interaction between explanatory variable we could add a multiplicative term giving us th...
So, I used different transformations on different variables, to create a normal distribution. I did the multiple linear regression with it. But now I am coming to the part in which I need to interpret the variables. I used Square root transformations and log transformations. It is about the percentage of migrants in a ...
I am trying to get Nakagawa's conditional R2 in R, for a two level model with two weight variables. The problem I am facing is however that only a limited amount of packages allows to estimate twolevel models with two weight variables. To my knowledge EdSurvey and WeMix allow for this. When I estimate models with these...
I need to calculate the R^2 for a weighted least squares (WLS) regression model which is also a regression through the origin (RTO). I'd like to use it for comparing the quality of the fits for the dataset I got by using different weighting methods. I found the formula of computing R^2 in case of RTO in several public...
I have a memory of taking some undergraduate statistics course, and the lecturer doing an example where he had a scheme for assigning weights to the problems of an exam based on the students performance. I think the larger related topic was something like variance stabilizing transformations, and the scheme ended up no...
I am in the process of developing an R package for best subset selection, which approximates the best subset using an iterative adaptive ridge regression procedure (with the weighted least squares regression of the IRLS algorithm replaced by an adaptive ridge regression; I am also allowing for possible box constraints ...
I am doing a logistic regression, with few adjustment variables When i add the interaction term between a numeric variable (age) and a binary one, the estimates and the OR are high. I know that adding an interaction between two categorical variables, this can happen if one of the categories is not represented for examp...
I have a dataset of points in space, sampled at a specified time. Now i want to obtain a 'spatial correlation plot, only between points close in time'. What i did is creating a dataframe of pairs of observations that are within a specified time-gap (for example 6 months). The columns of my dataframe are the following -...
Mathematically it is well understood that irreversible samplers are superior to reversible samplers in a number of ways. For example, if we want to sample from a distribution $\pi \propto e^{-U}$ by building a Markov Chain from the Langevin dynamics : $$dX_t=-\nabla U(X_t)dt+\sqrt{2}dW_t,$$ (for which $\pi$ is reversib...
I have two time series that give me a monthly count. One is a reference series that is meant to be used as a control; the other has a 'treatment' or program applied to it mid-way through. Both are expected to trend upward broadly. I have been asked to identify if the treatment/program is having a statistically signif...
TLDR: I am trying to simulate a hierarchical network using DFS as a way to sparsify the network. This works to link nodes using edges within the DFS but interactions between nodes are lost. Aside for switching out DFS for something like backbone analysis are there fields of research/papers that address similar issues t...
I have a question about an extended cox regression model. I have reviewed several materials, such as "D.G. Kleinbaum and M.Klein, Survival Analysis: A Self-Learning Text, Third Edition" but am still concerned I am not using this model correctly. However, I am setting up the data, one row per observation/time interval, ...
"A novel treatment is being developed and to measure its efficacy, the proportion $P_1$ of treated subjects who benefit from a certain Positive Outcome will be compared against the proportion $P_2$ of untreated subjects who do. The statistical hypothesis is: $$\begin{align} H_0: P_1 = P_2 \newline H_a: P_1 > P_2 \end{a...
I want to make a statement about model prediction qualities, comparing several models based on MAE and MSE. Considering the following results: Is it valid to say considering models 1 and 2: Model 1 outperforms two showing an improvement in MAE of 24% ((0.0792-0.1042)/0.1042). Model 1 has significantly fewer large err...
I have data of $N$ different event $E_n$ occurring at times $t_{n,i}$. So any event $E_n$ could have occurred any number of times. Normally the system operates in operating mode A. Sometimes the system operates in operating mode B. I have recorded during which times this operating mode was valid. I.e. some of the occur...
I have read about CZLSSVM (Clustered Z-score Least Square Support Vector Method) being better than kNN for missing value imputation but could not find projects on this method. Do you guys have something related to CZLSSVM?
I am interested in examining the relationship between yearly income and student success, taking into account the hierarchical structure of the data. The data includes schools as random effects, with classrooms nested within schools, and there may be correlations among observations within the same school and classroom. ...
The control chart usually requires that the observed values meet the conditions of independent and same distribution, but the sample data is a time series with autocorrelation. How should the data be processed to eliminate the autocorrelation
I am trying to understand gls and I have two questions: (1) How are the standard errors of the coefficients calculated? (2) what role REML plays in gls?
Suppose I have jointly normal random vectors $[\bf{v_1}, \ldots, \bf{v_K}]$' with mean $ \bf{M}$ and joint block tridiagonal precision matrix $ \bf{P}$: $$ \bf{M}= \begin{bmatrix}\bf{\mu_1} \\\ldots \\ \bf{\mu_K} \end{bmatrix} $$ $$ \bf{P}= \begin{bmatrix}\bf{P}_{11} & \bf{P}_{12} & \bf{0} & \bf{0}\\ \bf{P}_{21} &...
Missing values need to be imputed when performing logistic regression. Missing values are often imputed by the median. The mean is the BLUE (best linear unbiased estimator). But Median is robust to outliers and is not impacted by winsorization. What are good statistical arguments to stick to median imputing over mean i...
I want to implement Gaussian Process regression in the context of active learning, in which interpolation is performed with the best interpolating points, selected at each step iteratively. At every step, the subsequent sample to query is selected in such a way as to maximize an acquisition function, i.e., Expected Imp...
I am conducting a systematic review and would like to report the mean of a value that is consistently reported in the studies I've included. However, some studies report the value as a range (e.g., "the range of values is from X to Y") and others report a mean (e.g., "the mean of the value is X"). How would I report th...
This is my first time asking a question here, so apologies if I failed to include all necessary information. I have run GLMM's in the past but have limited experience with assessing interaction terms. I have run the model below using GLMMadaptive that includes 'temperature:absolute_humidity' as a fixed interaction term...
Here is the code example with variable names guiding the process: const yTrue = tf.tensor2d([[0, 1], [3, 4]]); const yPred = tf.tensor2d([[0, 1], [-3, -4]]); const mse = tf.metrics.meanSquaredError(yTrue, yPred); mse.print(); // [0, 50] The whole point of the code is to show the result, which is [0, 50] and try to und...
I try to calculate the expected value of a Pareto distribution. Suppose that we have a Pareto distribution for $x \ge \theta$: $$f(x;k;\theta)= \frac{k\theta^k}{x^{k+1}} $$ We can calculate $ E[X]$ with the following $$ E[X] = \int_{\theta}^{\infty} \frac{k\theta^k}{x^k} dx = \frac{k\theta}{k-1} $$ provided $k>1$. Now,...
I have a dataset with multiple variables (~20) that I could use in order to diagnose an illness. In my datset, I know if the individuals are sick or not. I intend to create a model using classification trees. Before that, I want to select the best variables for this diagnosis. I have tried 2 methods : Visualisation of...
In his 1969 paper, Grubbs mentioned that "Until such time as criteria not sensitive to the normality assumption are developed, the experimenter is cautioned against interpreting probabilities too literally when normality of the data is not assured". Say I have n data points and I want to test for outliers using the Gru...
I'm trying to setup a Bayesian GLM with Truncated Normal, $\mathcal{N}_+(\mu, \sigma, 0)$ truncated at $0$. I want to specify $\mathbf{E} (y\mid x) = ax + b$ but it looks like $\mathbf{E} (y\mid x)$ does not have a nice formula in terms of the parameters. My questions are: Is it possible to use $\mathcal{N}_+(\mu, \si...
I am a beginner in Machine Learning and I want to compare prediction results of multiple regression models (such as Ridge, Lasso, ANN...) using Nested Cross-Validation on a time series dataset. I have searched and reviewed several online articles and come up with the following procedure (or algorithm I’d better say). T...
I am trying to conduct an analysis that looks at the co-occurrence of multiple species with a focal species. Observations of my focal species have a 60m buffer. I am counting co-occurrence as an intersection with the buffer (with appropriate temporal filtering applied to avoid overrepresenting co-occurrence). I have be...
I've been trying to learn about Variational Autoencoders and been looking at the Keras sample implementation (https://github.com/keras-team/keras-io/blob/master/examples/generative/vae.py) I'm confused about how to calculate KL-Divergence. Currently, they calculate the KL-Loss as follows: def train_step(self, data): ...
Can I sub-sample categories before running Fisher's exact test? I have a 50 x 22 data matrix (50 categories and 22 samples), where some sample values are < 5, so I can't run a Chi Squared test. I can run a Fisher's Exact test by simulating p values using Monte Carlo simulations on the 50 categories. I was wondering if ...
I've been trying my luck with my data, consisting in 2 vectors of 3 levels each. I got a 3x3 contingency table, and the details of the code (in R) I've used are in this question https://stackoverflow.com/questions/76417224/why-is-r-not-performing-yates-correction. The thing is, some values of my data are really low, li...
Suppose I am generating random 4-digit numbers. Obviously there are 10,000 possible numbers, but the chances are I will get a duplicate long before I generate that many. Can anyone explain how I would work out how many numbers I would be able to generate and still be (say) 90% sure that there weren't any duplicates? To...
Consider a predictor $X$ that predicts a non-linear response $y$. A natural cubic spline with $K$ knots can be fit to $y$. Several different linear basis expansions in $X$ can be used to fit the natural cubic spline, such as the following $K$ basis functions—from Hastie, Tibshirani & Friedman (2017): \begin{align} h_1(...
This may seen like a dumb question for someone familiar on how to structure survey sample sizes, but I have a hard time finding the literature to back this up. I have a survey that cover's 3 countries, US, UK and Canada, which has the following flow: Out of a list of 100+ items, person is showed a sample of 20 to be s...
Suppose I have an experiment designed where I'm interested in observing the effect of daily walking on self-reported joint pain in elderly adults. The population of interest are elderly adults who reportedly do not partake in daily walking who have noticeable, self-reported joint pain. I've randomized, started, collect...
I want to sum the means of various measures within a treatment group, and found previous posts helpfully describing how to calculate the Standard error of estimated sum or product mean. My question is, can I estimate a number of observations (N) for these derived statistics? As an example, let's say I measured 5 amino ...
We have given a sample $X_1,...,X_n$ which is distributed with respect to $f(x;\theta)=e^{\theta-x} \Bbb{1}_{\theta\leq x<\infty}$. We want to use the statistic $T:=\min\{X_1,...,X_n\}$ to find a confidence interval for $\theta$ at level $1-\alpha$. I first computed the distribution of $T$ and got that $$F_T(t;\theta...
I am running permutations of the Weather Research and Forecasting model and want to determine the statistical significance of various parameters versus a control run with none of these options set. There are 12 permutation members, of which an ensemble of three WRF runs have been performed for each using varying initia...
Currently, I am trying to evaluate the AB testing of my movie recommender systems and I want to see which option is better in terms of watch_duration (duration of the user watching a movie). However, I am struggling with creating my model. At first, I wanted to create a fixed effects models but I do not have data on e...
I have a very small data set (n = 12) of high level athletes each with a set of measurements representing technique (5 variables) and a set of measurements representing strength (3 variables), and I want to explore possible interactions between strength and technique variables in relation to a performance outcome (depe...
I am confused with the following: I found the next examples in a website https://stats.oarc.ucla.edu/r/dae/zero-truncated-negative-binomial/ library(foreign) dat <- read.dta("https://stats.idre.ucla.edu/stat/data/ztp.dta") dat <- within(dat, { hmo <- factor(hmo) died <- factor(died) }) summary(dat) library(VGAM) ...
Scenario: I have an ordered/indexed sample that supposedly comes from a binomial distribution with fixed probability of success p. (By ordered/indexed I mean that not only I care about the percentage of success out of the total n trials, but I care about the distribution of such successes or when they happen— so having...
In a regression analysis, how should I interpret the results if the main effect (exposed vs. unexposed) is null but a dose-response relationship exists? And vice versa if the main effect exists but there's a lack of a dose-response relationship? Thank you!
I've generated some data (example below) and I'm not sure how to go about analyzing it. N #0 #1 #2 #3 #4 #5 #6 #7 #8 #9 ... ... ... ... ... ... ... ... ... ... ... 65 C A A A C B B B C C 90 C A A A C B B C B C 78 A C A A C B B C B C ... ... ... ... ... ... ... ... ... ... ... The data is generated b...
I am imputing missing values in a longitudinal dataset using the Amelia package in R. Does it matter if I have the data in long format (with id, time, and value in each row) or in wide format (with id, valuet1,valuet2,valuet3 in each row) when I impute? The two seem to produce different results. When I have the data in...
I have some incomplete data for loss ratios (=loss/revenue) for 5 years. Let's call it X. Suppose these are the given values for X: 2012 - 73%; 2013 - 67%; 2014 - 78%; 2015 - 81%; 2016 - 75%; I was also provided with a best estimate of the mean of the data of 83% (Note: This is not just the average of the above figures...
I would like to know the meaning or signification of the parameter $\beta$ in this Bayesian model. I have a Poisson model : $ s_{i} \mid \lambda_{i} \sim Poisson(\lambda_{i}t_{i})$ Where $\lambda_i\mid\beta\sim\mathcal{G}a(\lambda_i\mid 1.8,\beta)$ and $\beta\sim\mathcal{G}a(\beta\mid 0.01,1)$ I have as data the next t...
my dataset can be found here: https://raw.githubusercontent.com/yuliaUU/test/main/test.csv library(gamlss) library(tidyverse) data_final<- read_csv("test.csv") # Normal model with log transformation model_1 <- gamlss(log(Abundance) ~ salinity*avrg_dep, data = data_final, family = NO()) # log normal model model_2 <-...
for this formulas PE(pos,2i)=sin(pos/(10000^(2i/modelDimension))) and PE(pos,2i+1)=cos(pos/(10000^(2i/modelDimension))) we know PE for position i follows: [sin(i/denominator[0]),cos(i/denominator[0]), sin(i/denominator[1]),cos(i/denominator[1]), sin(i/denominator[2]),cos(i/denominator[2]),...]. note each element here i...
Very often in regression models, the assumption of homoscedascity is violated. I am wondering how is it possible that no one as of yet (as far as I could find in the literature) developed a parameterized heteroscedastic normal distribution? So far, to assess heteroscedascity, researchers calculate the residuals of the ...
I would appreciative any help for an analysis of linguistic data as described below. Someone collected linguistic data from 35 children between 4 to 6 years old. Each child was given various words to say (not the same number for each child) and for each word, six linguistic deviations were recorded as 0 (not happen) or...
When I run this structural equation modeling in amos program, I get the following error message. How do I fix it? The error message: "The model is probably unidentified. In order to achieve identifiability, it will probably be necessary to impose 4 additional constraints." I wonder what I should fix in this picture an...
I would like clarification on the correct way to set up the first-stage regression(s) for a hypothetical 2SLS regression. Say we have the following formula: \begin{align} y = x_1 + x_2 + x_1 \times x_2 + \text{controls} + \epsilon \end{align} Where $x_1$ is numeric and assumed endogenous, $x_2$ is categorical a...
How to interpret this fitted vs data(actual) plot? My data is time series and there are many observations for the y variable for one year. How to analyse it if my data is a time series? This is a multiple linear regression model. I am confused on how to analyse it. So, this is my time series linear model. My objecti...
I have the following situation. I have N_S subjects, each subject i has N_i electrodes. I am measuring the Power Spectrum Density (PSD) in 4 different conditions (A, B, C, D), with about 100 trials in each condition. I want to find the frequencies and conditions at which the PSD is significantly different than in condi...
let's say that I have this model below: lm(academic_peformance ~ biological_sex(binary) + age + history_score + math_score+ history_score:math_score) I want to test simple slope analysis to probe interaction (math:history) but due to the biological sex being binary, I was wondering what should I do to run the significa...
I am taught that the hard-margin SVM is defined as the optimization problem: $\min_{w, b} \frac{1}{2}||w||^2_2, \text{ s.t. } y_i(\langle x_i, w \rangle + b) \ge 1$ Furthermore, the two planes $\langle x, w \rangle + b = \pm 1$ are the "gutters" on the margin where the closest points will lie. I am wondering if it is p...
I am getting confused about the concept of independent samples, which is related to the concept of pseudoreplications. This question is related to this topic. But reading it does not make it clear for me. Suppose we are interested in the population of Germans (of a specific age, to be more specific). The response varia...
I want to perform a split-plot ANCOVA in R. I try to test, whether the assignment to one group (of two; between-subject factor) has an effect on a performance task (measured 5 times during the experiment; within-subject factor). Additionally, I want to control for baseline differences and therefore use the first time o...
I have a set of data as this: ID V1 V2 V3 A 12 10 8 A 11 9 10 B 7 10 8 C 13 10 9 C 10 12 6 This dataset is from health data, where each individual takes one or more measurements (sometimes the same days, sometimes across the years), then I thought I could take into account that each individual has a weight ...
I am testing a script in R to work with the PISA data for Spain. I calculate the average maths score as the weighted average with the weights (w_fstuwt) of each of the 5 plausible values and then taking the average of those 5 values. Comparing with the official PISA results (https://pisadataexplorer.oecd.org/ide/idepis...
You are presented with a bag of 4 orbs. You know that 2 are blue and 2 are red. You start drawing them without replacement from the bag one-by-one. Before each draw, you are given the opportunity to guess the color of the orb that is about to be drawn. If you get it correct, you earn $1. Under an optimal strategy, what...
Say I am measuring a continuous signal and have a time series $f(t)$ with a known expression (for example, a Gaussian wave packet) between some $t_1,t_2$ , is there a way to compute the histogram function $H(f)$ (or $P(f))$ without using manual computation like the "hist" function? Or at least predict its asymptotic be...
I am trying to confirm the what the $A^{-1}$ actually is in a triangular factorisation of the variance-covariance of a MA(1) process. And what I have found doesn't seem to match what is on Hamilton p.129 (Time Series Analysis (Hamilton, 1994)). Does anyone know which is correct? On Hamilton p.129, the variance-covarian...
I have a dataset about the whole population of interest, not just a sample of it. I ran a mixed effect model where age and sex are fixed effects; urban area where individuals live and country of origin are random effects; vaccination status is the outcome variable. I intend to explore the association between the indepe...
I'm working on a dataset that contains both continuous and dichotomous numerical features, the latter having values in the set $\{0, 1\}$. My objective is to apply feature selection to my dataset to improve the performance of my predictive models. My approach for feature selection is correlation-based, inspired by the ...
I would like to know if I want to use GMM if the data has to follow a Gaussian distribution even if I preprocess the data and normalize it. Is it enough to normalize the data or has it have to pass some type of test? Regards and thank you in advance
What does it imply if, in the case of a neural network, validation accuracy is better than training accuracy? Does this mean that the data set has issues or training has issues? Can you elaborate?
I have an unknown function $f(x)$, defined on a domain, that is modeling a perception function based on a human user response. I estimate it with a GP with mean $\mu$ and kernel $K$. I determine the hyperparameters of those functions with the minimization of the negative loglikelihood, performed on a starting training ...
I am trying to adjust my covariates in a model. My dependent variable is count data variance is greater than mean which means I have to apply negative binomial regression, main independent variable (bullying) is binary (0/1), and I have few covariates such as age, gender, family status and so on which I want to adjust ...
I want to test the survival of multiple populations with 2 different treatments and include 2 random effects as well. Hence, I want to perform a mixed effects Cox model. I count how many ants died within a colony once a week for a period of 5 weeks. During my last mortality count, I also count the number of remaining l...
So, I am checking the assumptions for my time series data. I also did this test and it seems to reject the null hypotheses. Then, to check the equal variances, I made a box plot. So, I found that for age variable, all the groups have non-similar variances. So, how am I supposed to conclude the equal variances of t...
I have searched extensively and I fail to find an answer. If you are not confident, please don't answer or modify the question, since it will confuse readers even more. Agree on some definitions Let $X_1, ..., X_n$ be a random sample of size $n$ from a population A statistic is a function of $X_1, ..., X_n$ Any statis...
I am currently at a total loss, so I hope someone can point me in the right direction regarding my model selection. The situation I want to create a linear model that best forecasts my data. I am trying to figure out how many parameters I should enter into the model. I have tried Lasso regression for this, as it should...