instruction
stringlengths
9
38.7k
I am trying to understand the concept of sample average treatment effect ($SATE$) over population average treatment effect (PATE). $SATE$ focuses on the effects of treatment in the particular sample we have collected. $PATE$ represents the true treatment effect in the study population. The main question is how we can s...
I'm writing a program that shows data about groups of entities. In each group, the entities make contributions to a goal. I'm interested in how even the contributions are distributed between the members of a group. So in each group I do the following: I normalize the number of contributions of each member by the sum of...
I have participant data for 5 different rating dimensions (A to E), and I have fitted linear mixed-effects models, separately for each rating, with several fixed- and random-effects predictors: tbl = table(M.rating_A, M.groupSize, M.cond, M.rep, M.training, M.id_rater, M.melody, 'VariableNames',{'ratings' 'grou...
For which $X$ coming from some named distribution family, does distribution of $X^2$ also have a name? Here are some examples I found, any others? Rayleigh -> Exponential Chi -> Chi Square Normal -> Chi Square Student-T -> F ratio distribution Exponential -> Weibull Wigner Semicircle->Marchenko Pastur Cauchy -> Beta p...
I am trying to modify a water use monitoring index which has a form such as A/(B-C), taking into account the importance of each one of the variable (A, B, C). To identify the importance weights, I have as available input the answers of experts that indicate that in a likert scale (1 not important, 5 very important): A ...
Before getting to the point, I will provide some context: I have a dataset that includes $176$ quantitative neuroimaging markers ($m_i$ for $i=1,...,176$) and several categorical variables representing different disease phenotypes (among them we find categories $A$ and $B$). Initially, I performed a linear discrimina...
I'm trying run an a priori power analysis for an SEM and I need to know how many estimated parameters are included in the SEM. I'm having trouble understanding what exactly counts as an estimated parameter in an SEM. Based on my readings, I believe that the relationships between each examined variable count as estimate...
I'm currently conducting a meta-analysis in which I compare the diagnostic performance of two different methods. All the studies in the analysis employ the same reference standard. The pooled sensitivity, specificity, negative likelihood ratio (NLR), positive likelihood ratio (PLR), and diagnostic odds ratio (DOR) for ...
I had a specific question about forecasting with Singular Spectrum Analysis and the impact that the grouping task has on this. I understand that the grouping phase is important for interpreting the SSA decomposition. For example, if multiple components are describing the same seasonal cycle in the data, then grouping t...
I am studying alpha diversity (Hill numbers) using shotgun metagenomic data. The sampling design has multiple levels of nesting, as follows: 2 years > 3 locations > 2 conditions > 1 transect > 3 replicates within the transect. My objective is to compare the individual effects of conditions and years, as well as their i...
I am interested to know if there is heterogeneity in a multi-level categorical variable in a survival model. Does Cox make sense given the test of heterogeneity would assume proportional hazards - which is kind of what we are testing for?
I am reading Bain/Engelhardt's "Introduction to Probability and Math Statistics" about maximum likelihood estimate (MLE) for linear regression (p. 519 - 522). I first summarize 3 key points from the textbook that I am interested in. (1) The MLE for $ \hat{\beta} = (X^TX)^{-1}X^TY $ and $ \hat{\sigma}^2 = \frac{(Y-X\h...
If my panel vector autoregression with exogenous variables (VARX) is unrestricted, and the same variables appear on every equation. Can I estimate it as a panel SUR?
First of all, I understand that this topic has been repeatedly covered in Cross Validated, and I have read through the forum but was unable to find a full answer to what I am looking for. Context I have been given the results of a survey that consists of multiple questions using the Likert Scale. This survey was conduc...
I am currently studying statistical hypothesis testing, specifically the Likelihood Ratio Test (LRT), and I've come across a problem that I'm struggling to solve. I would greatly appreciate any guidance or help. The problem involves two independent random variables, $X_1$ and $X_2$, each following a Poisson distributio...
Let's assume that I have Y (monthly sales data) and multiple variables (X1, X2, X3, X4, ....). Let's assume that I have fitted a regression model until the latest month and I got what features are contributing to my Y. Let's say (C1, C2, C3, C4, ...) are the contributions. Once, I have next month data, if I fit another...
I'm coming for a computer science background and statistics is not my forte, please bear with me. I have two revisions $R_1$ and $R_2$ each consisting of around 10000 processes $T_i$ (involving some sensor readings). In each process we make $n$ observations (i.e., for each $i$ in either revisions we have a vector $T_i\...
I would like to know if there is an easy way to estimate the (cumulative) baseline hazard from a cox model with time-varying coefficients over different time intervals. After creating the time splitted data with survSplit(), the predict.coxph() method with type='expected' gives expected values per row which I guess con...
Perhaps this type of question is not very suitable for this forum, but I'll try to make my question a little useful. I'm studying stochastic processes, more precisely, Levy processes. A Levy process $X=(X_t)_{t\geq 0}$ is characterized by its characteristic function given by: $$\log \varphi_{X_t}(u)= t\left(ib'u+ \frac...
Imagine a disease whose exact mechanisms are unknown and can lead to different phenotypes. Although there likely is a continuum between the different phenotypes, these are categorized (as ordinal variable Diagnosis) based on specific parameters (Selected symptoms). I am interested in the relationship between Other cli...
I have run two pooled OLS regression models on the same data set, one where the independent variable of interest is left in its original form and on where it has been log transformed. Lagged hateful replies is a measure of exposure to hate speech online, while the dependent variable, posts containing hate speech, is a ...
I would like to compare two beta coefficients from two different Poisson models which have the same variables and applied to different samples. I would like to test their difference to check if the null hypothesis that their difference is zero can be rejected. Both models run on a sample of size N=120. A similar questi...
In the book An introduction to statistical learning, it is mentioned that: One can show that on average, each bagged tree makes use of around two-thirds of the observations. The remaining one-third of the observations not used to fit a given bagged tree are referred to as the out-of-bag (OOB) observations. We can pred...
Thank you for reading my question. Recently, I tried to analyze my data using the discriminant function. When classifying, I used 4 phases (specifically, the ages of the house were divided into 4 phases: 1 phase 0-5 yrs, 2 phase 5-15 yrs, 3 phase 15-30 yrs, 4 phase 30-50 yrs) And I applied 4 variables (house size, elec...
I have a model in which $p_i=f(\theta,Z_i)$, where $Z_i$ are iid latent variables distributed with CDF $F_\theta$, and $d_i\sim B(n_i,p_i)$, where $B$ is the binomial distribution. The likelihood function is thus (up to a constant) $$L(\theta\mid d_1,\dots,d_k)=\int_{\mathbb{R}}\dots \int_{\mathbb{R}}\prod_{i=1}^k f(\...
I have this dataset: Treatment data T1 0 T1 0 T1 0 T10 0 T10 0 T10 0 T11 0.2 T11 0.2 T11 0.2 T12 0 T12 0 T12 0 T2 0.7 T2 0.6 T2 0.6 T3 0.8 T3 0.7 T3 0.8 T4 0.3 T4 0.3 T4 0.4 T5 0 T5 0 T5 0 T6 0.7 T6 0.7 T6 0.5 T7 0 T7 0 T7 0 T8 0.8 T8 0.7 T8 0.8 ...
Thank you for reading my question. I used the clustering method to classify the age of the houses. This graph show the clustered results. I should to get the age range, mean age, and median age for each age phase. I calculated them: age range=(maximum age of each phase)~(minimum age of each phase), mean age=sum of age...
I have a rather limited understanding of statistical estimation theory so I apologize if my question is strange or trivial. Say I have an expectation-maximization-based algorithm for determining the parameters $\boldsymbol{\theta}$. Let $\mathbf{y}$ denote the incomplete data and $\mathbf{x}$ the complete data. I wish ...
Trying to understand conditional logic model using the dataset https://raw.githubusercontent.com/pranavn91/PDF/main/xlstats_cbca.csv But I am getting all the coefficient as zero (pylogit MNL model) I read the data, the convert to dummies the product features. Then I dropped the reference terms as suggested here (https:...
I have a project for predicting credit card approvals (binary classification). I got stuck on feature selection, hyperparameter tuning and final testing stages, as I don't know how to properly modify (balance) data to avoid data leakage or overfitting, as my datasets are imbalanced Sets look as follows: training_set...
I want to perform an analysis on my panel data, but I have troubles finding the best model for my analysis. I performed an F-test to detect whether the pooled OLS or the fixed effects is more suitable. The results indicate that I should use the fixed effects model. I also performed a Hausman test to detect whether the ...
I'm currently trying to perform feature evaluation using the permutation_importance method. Say that my model is GradientBoostingRegressor() and I have a dataset with 182 rows of data. At first, I was thinking that I should use 10-fold cross-validation in this procedure as well, since it gives a less biased estimate of...
I'm trying to understand if I should go for a Mixed-ANOVA or a GLMM analysis on my data. My experiment was as follows: Independent variables: Water Temperature (14ºC and 20ºC) Air Temperature (28ºC, 36ºC, 38ºC, 40ºC) Region (Population) Dependent variable: Growth Shortly, I sampled a species of algae from 10 popula...
For a research I am conducting I am looking at the effect of two categorical variables (dummy with values 0 and 1 for each group) on the speed and quantity with which customers make future purchases. The variables are simply made as follows: speed is measured as the days until the next purchase Quantity is measured as...
I am writing a thesis where I investigate whether ESG/sustainable funds' decision to invest in fossil fuels/weapons affects fund flows. I am regressing a fund flow variable on a dummy variable x which takes the value of 0 if a fund invests in fossil fuels/weapons and 1 if the fund does not invest. So: y=β0+β1(0) -> flo...
My study is about the influence of board diversity (gender and age) and fund size on the voting behavior of pension funds. I have also included control variables that concern the board type, board size, fund type, and also control for time. This is only a snippet, but I have data on 38 pension funds who have voted on ...
I have a question about basic statistics: I have a set of data divided in four groups, defined by two variables. I ran the normality test (shapiro_test {rstatix}) and one of the groups does not fit the normality hypothesis (p=0.02). In this case, can I perform a two way ANOVA or should I run another test? In that case,...
An Individual possesses a total of $n$ umbrellas that she uses in going from her home to her office, and vice versa. If she is at home (at the office) at the beginning (end) of a day and it is raining, then she will take an umbrella when travelling to the office (to home) provided there is one to be taken. If it is no...
In my area of research (conflict research), it is not uncommon (increasingly becoming to norm) to examine the variability within treatment and how this variability impacts the outcome. I'll demonstrate some examples: United Nations Peacekeeping Operations (UN PKOs) Dummy Treatment: Whether or not a country received a ...
Batlett's formula for asympthotic covariance matrix $C$ is given as: $$c_{ij}= \sum_{k=1}^{\infty} (\rho_{k-i}+\rho_{k+i}-2\rho_{k}\rho_i)(\rho_{k-j}+\rho_{k+j}-2\rho_{k}\rho_j)$$ where $\rho$ is the sample autocorrelations. Brockwell and Davis (2016) mentions this form of the formula as "more convenient for the comput...
I am analyzing panel data on various municipalities (id_mun) over several years using the pglm package in R. My dataset contains a variable "treatment" which is continuous but is time-invariant within each municipality. I have fit a fixed effects (within) Poisson regression model to account for unobserved time-invarian...
I'm doing a mediation analysis to find the 'significant' mediator between variables X and Y. I have 4 potential mediators (M1,M2,M3,M4) and I conducted 4 univariate mediation analysis. More specifically, I conducted mediation analysis in path X->M1->Y, X->M2->Y, X->M3->Y, X->M4->Y respectively. Should I do a Bonferron...
I'm working with binary 3D matrices. I calculate their PCA (or REOF or SVD) and as a test I would like to reconstruct these matrices from the PCA results. However I realized that because I only keep the first 10 modes of my PCA, the reconstruction ends up giving me floats between 0 and 1 rather than binary numbers. Can...
I'm trying to figure out which statistical test to use when testing for group differences in a multilevel longitudinal experiment The scores (y-axis) were produced by a machine learning model, the x-axis is time (unevenly distributed: 0h, 1h, 2h, 3h, 5h) I'm not confident which stat tests to pick Is this the correct s...
I am working with data from an intervention trial with the goal of assessing differences in survival between a control group (n=150) which received no treatment and an intervention group (n=150) which was given prophylactic treatment. Both groups were tested every two weeks for a total of 12 weeks (i.e., six observatio...
Imagine we are performing Bayesian inference with normal-normal conjugate priors. We have some prior: $$ \mu \sim N(\mu_0, \sigma_0^2). $$ We know we will collect some normally distributed data $x$ with known variance $\sigma^2$ distributed as: $$ x|\mu \sim N\left(\mu, \sigma^2\right). $$ The prior predictive distribu...
I have dataset describing aggregated purchases from multiple brands. It contains variables: Brand (ordinal) Promotion (ordinal) Sales (numeric) I need to use linear regression to describe the effect of different brands and promotions on the amount of Sales. The cardinality of Promotion is low, 2 unique values, but th...
I would like to run some comparison analysis for sales between 5 different marketing campaigns and see which of these campaigns result in highest sales. I am wondering if it is possible to use ANOAV test instead of running AB test. It seems that ANOVA test is having a strict pre-conditions such as normality of distr...
So I am having an issue I tried on my own but it seemed to no avail. It concerns the ERM (Empirical Risk Minimization) algorithm, used in Ban and Rudin's paper for solving a Newsvendor problem, which consists of the following linear problem: enter image description here In the problem above, we are looking for the vect...
I have been learning about Real Analysis and recently undergone a stats module on regressions etc.. We have come across gradient descent and I was curious about, if we have a complicated loss function, whether we can tell if we are in a local minimum or at the global minimum?
Suppose we sample from a distribution of the random variable $x$ that is basically a power law (with exponent $\alpha$) for values of $x$ close to some minimum $x_{\min}$, but differs significantly from that power law once $x$ gets close to some value $x_c$ smaller than the maximum value $x_{\max}$ that $x$ can take. M...
I'm looking for guidance for how to plan an analysis. I am interested in temporal differences amongst two different populations. More specifically I'm interested in assessing differences in length of stay for patients admitted during the week vs weekend stratified by trauma vs urgent surgery. The hypothesis is that ...
I am trying to understand more about the geometry of linear modeling. Take for example an experiment with one categorical predictor having two levels and a numerical response. If two data points are collected for each predictor level, then the linear equation for the experiment would be: Where blue is the design matri...
Let $X_i$ be i.i.d with distribution $F$ such that for some $a_n>0$, $b_n \in \mathbb{R}$. $F^n(a_n x +b_n) \to \exp(-(1+\gamma x)^{\frac{-1}{\gamma}}$ Define $X_{1,n} \leq \ldots \leq X_{n,n}$ to be the order statistics, and we want to prove $(\frac{X_{n,n}-b_n}{a_n}, \ldots, \frac{X_{n-k+1,n}-b_n}{a_n})$ converges to...
My task is to study factors that influence the composition of labor force. The latter consists of two types of workers, full-time and part-time. My first approach was to run an OLS regression for the share of part-time workers, defined as share = (number of part-time) / (part-time + full-time). The issue is that this v...
I apologize if this a remedial question but I am trying to determine how best to proceed with my analysis and I would appreciate if someone could explain the differences in assumptions between a zero-truncated model (zerotrunc in r) on zero-truncated data and a glm on zero-truncated data. For context I am attempting to...
I'm using early stopping for avoiding overfitting in a task of image classification with a graph convolutional network. I'm trying to adopt a patience of 5 and a minimal improvement of 0.001. Is this setting ok? What are the recommended values for patience and minimal improvement?
For a 2-factor experiment, the TukeyHSD function in R (after a significant ANOVA) can calculate P values for the differences between levels of a single factor (basically, comparisons between the marginal means) as well as the interaction between factors. For example: $FactorA diff lwr upr p adj A2-A1 4.8977778...
Suppose that an observational study was conducted with 100 patients (i.e., 100 level-2 units). The researcher recorded whether a medical condition was present (coded as 1) or absent (coded as 0) in each patient at five different time periods (i.e., the level-1 binary variable of 0 or 1 was measured five times for each ...
I want to know the calculation of marginal filtering distribution and smoothing distribution from the joint distribution. For example, Joint filtering distribution: $$ p\left(x_{1: t} \mid y_{1: t}\right) \propto \mu\left(x_1\right) \prod_{k=2}^t f\left(x_k \mid x_{k-1}\right) \prod_{k=1}^t g\left(y_k \mid x_k\right) $...
I'm new to deep learning and currently trying to use it for my project. The goal is to predict ship charter prices based on various factors that we have identified theoretically. In this project, we also want to understand how these factors affect ship charter prices and specifically determine the extent of their influ...
I am using linear regression and I see that if there is a violation of the Gauss Markov assumption and the estimates of the parameteres are not unbiased/ efficient. What are the consequences if the residuals are not normally distributed? I read that the p values are no longer reliable but why is that?
I have a continious variable I wish to predict, for which I have sensory data on a fixed time interval t, denoted as y_t. In addition, I have a set of features which are consistent across time, called f_t, but also time itself is a feature, which naturally changes over time. The input could thus look as follows t1| fe...
I am using R package mgcv to model spatio-temporal variation in an ecological variable (y). I have data for "y" from across 8 years, and from >2000 locations across the United Kingdom. I added uncorrelated predictors to explain the spatio-temporal variation in "y" using the following model (where Tmax, Rain, Wind and F...
I wouldlike to know how to calculate a prediction interval manually, without using a library. Ultimate goal is to write some formula in a spreadsheet based on the model params that would let me calculate a prediction interval around a table of new values. Some data to illustrate (R): library(tidyverse) example_data <- ...
For a confusion matrix, there are a variety of useful rates, ratios and indices. But I cannot find the one I care about: FP / (FP + FN) Of course this measure is not defined for a perfect classifier, one in which both false positives and false negatives are zero. But for everything short of perfect, this measure is us...
In a Bayesian MMM model using pymc3 the variables are scaled. It is said that scaling helps in improving the efficiency of the MCMC algorithm. Also, it is stated that setting priors for the non-scaled data becomes difficult. What is the intuition behind these claims? Why do we need to scale the variables in the data se...
I use ARFIMA(p, x, q)-GARCH(P, Q) models for time series forecasting and when I calibrate models for selection the best via BIC criteria, I use "slow" approach when I calculate BIC for every p*q*P*Q*count('norm', 'snorm', 'std', 'sstd', 'ged', 'sged')*count(sGARCH, eGARCH, gjrGARCH)*mean(YES/NO)*fixOmega(YES/NO) For p ...
From my understanding mutual information can be defined in the following ways: [1]: $I(X;Y)=H(X)+H(Y)-H(X,Y)$ where $H(X), H(Y)$ are marginal entropies and $H(X,Y)$ is the joint entropy. [2]: $I(X;Y)=D_{KL}(p(x, y)||p(x)p(y))$ which is the KL divergence between the joint distribution and the product distribution. From...
I'm looking for the formula to calculate a p-value for statistical hypothesis testing by hand without using the lookup table. I've found something here (Calculating P-Value of a Z-Score without using Z-Table), but I don't really understand the formula. Can someone help me by showing some data and how you come up with a...
I am analysing data from an experiment consisting of 4 treatments, and I am interested in treatment differences of DNA damage caused by a toxicant. I have consulted a statistician to discuss some of the statistical intricacies. He insists that p-values are not a measure of evidence and are misused in science and eviden...
Let us assume I conduct an experiment, in which the participants perform four different tasks, getting a tool support or not. We measure the time to complete each task, either with the support of a new tool or not (indicated by the boolean value in brackets in the following table). The result could look like: Parti...
Let $X$ and $Y$ be two positive random variables defined over $(\Omega,\mathscr{F},\mathbb{P})$. We know that if they are both log-normal then the random variable $Z$ defined as: $$Z:=\ln\frac{X}{Y}$$ is normally distributed. Is the converse true? Namely if $Z$ is a normal variable defined as above, can we conclude $X,...
I have two large samples (around ~2 million each) of tweets with a very heavily skewed engagement distribution, and I want to compare their mean difference across several stratifications. I have tried other tests but given the nature of the data, bootstrapping seemed to be the most reasonable choice to compare the mean...
I am proposing a cross-sectional study that measures two variables. Variable A is measured using a questionnaire that returns a value at an interval scale. Variable B is measured as a dichotomous yes/no response (i.e. it is nominal). Suppose that literature suggests that A is a predictor of B (say, increased A is conce...
I'm trying to understand how to compute the derivative of the Softmax activation function in order to compute the gradient of the quadratic cost function w.r.t. the weights of the last layer. Considering the cost function as: $$C(W,B) = (A^{(L)} - Y)^2$$ Then $$Z^{(L)} = W^{(L)}A^{(L-1)} + B^{(L)}$$ $$A^{(L)} = softmax...
I saw a DRL application in which the input is scaled between -1 and 1 first before training, why it is needed? How does it help with the training?
I am doing a research on the effect of Covid on fundraising success. I already implemented logisitc regression models with Covid as interaction variable but my supervisor wants me to use DiD. I asked a colleague and he suggested "two-way fixed effect DiD". As all the countries in my sample were affected by Covid but in...
I have a dataset spread across N departments and T years. I am interested in how voting shares change as a reaction to some regressor X. The dependent variable Y is vote shares: every department casts votes of which some go to party A, some to party B, and some to party C. Thus, it would be a compositional variable, su...
Prior research has demonstrated that the interpretation of a regression coefficient no longer represents the marginal effect once non-linear term transformations (logs, interactions, etc.) are introduced or when a non-linear outcome is being modeled. Under a regression adjustment setting, one can estimate the marginal ...
I have the following question. Assume that we have the standard Dynamic Factor Model: $$ X_{i,q} = \beta_i F_q + \epsilon_{i,q}, \qquad \epsilon_{i,q} \sim \mathcal{N}(0, \sigma_i^2), $$ and $$ F_q = \phi_f F_{q-1} + u_q, \qquad u_q \sim \mathcal{N}(0, \sigma_F^2), $$ where $i \in (1, \ldots, I)$ is the number of firms...
For some arbitrary data, I have the raw data and a fitted model (not a regression model, but more so a model that accounts for noise and imperfections the data acquisition). I want to see how closely the model resembles my data. I can use a two sample dependent t test, comparing the raw data to the fitted regression mo...
I am practicing Linear Regression on the Airbnb dataset. The VIF for 2 dummy variables 'room_type_Entire home/apt' and 'room_type_Private room' is coming as '9.546159' and '9.116464'. These dummy variables I got after applying OHE and dummy encoding on the categorical variable 'room_type' which had 3 categories initial...
I am trying to compare data from the same series of questions that most recently was used with a 5 point scale, but the previous iteration of it used a 7 point scale. Is there a way for me to convert/scale the means from the 7 point scale so that I can compare the means for the 5 point?
I'm working on analyzing some hydrological time series/discharge data (for context, I don't have that extensive of a background in statistics or with time series). Essentially, the data is daily discharge measurements from the last ~80 years or so, quite an extensive record. I know from reading various sources that qua...
I am running a regression like this on Stata to do model diagnostics: xtreg lnTobinsQ l.ESGScore l.lnTotalAssets l.Leverage l.CurrentRatio l.PricetoBookValueperShare, fe When I run the command vif, uncentered, I receive high VIF scores for lnTotalAssets (13.8) and ESGScore (9.14). Running a regression with TotalAssets ...
I'm modeling product lifetimes. If I know what I want the average lifetime of a product in my model to be, is it possible to fit a Weibull distribution to only that data point?
I wasn't getting much help in the programming forums and thought to try here. I am testing Pandas exponential weighted moving average (EWMA) function: import pandas as pd df = pd.DataFrame({'values': [345,373,373,359,376,376,413,383,467,464,540,628,545,631,617,607,590,576,565,617]}) ewm = df['values'].ewm(span=7, adjus...
In theory the differential privacy guarantee comes from adding randomness to an algorithm so whatever is output is a sample from a target distribution (e.g., the Laplacian, Gaussian, Exponential Mechanism's distribution, etc.) In practice, one must use a pseudo random generator or other approximation method to generate...
Participants completed 4 trials. There are two factors of interest: AROUSAL (High/Low) and LOCATION (Left/Right). Each trial was a combination of each (i.e., HIGH AROUSAL/LEFT, LOW AROUSAL/LEFT, HIGH AROUSAL/RIGHT, LOW AROUSAL/RIGHT). I want to confirm that self-reported arousal scores (likert-style variable, normally ...
I have a longitudinal dataset with visits 1, 2, 3 and 4, several weeks apart. The outcome is binary, and the aim is to assess the covariates associated with the presence/absence of this variable at visit 4. Most patients adhered to the protocol and attended the final visit (visit 4) in the visit window given, however d...
I have two set of data from a experiment. I would like to evaluate a linear model between both sets. However, the term corresponding to y variable is composed by two elements: The measure and its standard error. In this case, how i can undertake a linear regression? The data i try to evaluate are the following: x      ...
First of all, i don't know if "global model" is the right name for this. The goal is to develop one model to predict the solar energy of PV-Systems in an energy management system for the next day. Whenever a new PV-System is adopted to the energy management system one "global" model will be trained from scratch everyti...
Let $F$ be a distribution function on $\mathbb{R}^2$, and let $U_i$ be the left continuous inverse of $\frac{1}{1-F_i}$, where $F_i$ is the marginal distribution of $F$. In my textbook, there is the following definition. $H(x,y) = 1- \frac{1-F(U_1(nx), U_2(ny))}{1-F(U_1(na), U_2(na))}$ for $\max (x,y) > a$, and this is...
I am trying to use interrupted time series analysis to figure out the impact of a groundwater recovery program on Well Depth initiated on March 1st. I am trying to understand the difference between using the actual well depth as the dependent variable and using the change in well depth as the dependent variable (which ...
Are neural networks used for the classification of high-dimensional small sample data like gene microarray data, where the dimension may be on the order of 1000 features per sample with around 100 samples? Do they work well in this setting, and if not, then what kind of classifiers are usually used with this kind of da...
I collected microplastics falling on an island in a year. The types of microplastics are fiber (F) and miscellaneous (M) particles. I want to know if the number of each that fell are significantly different. I collected at two sites but I want to combine these sites together for the island as a whole. The percentages o...
I would like to check if my overall survival differs be a multi-level categorical variable. I have 300 subjects and 15 levels. Is KM log-rank the most appropriate test? If so, how do I check the PH hazards assumption with a variable with so many levels? I know that the log-rank test does not rely on PH, but it would be...
Say I have a coin with a chance $p$ of landing heads where $p$ is drawn from the uniform distribution from 0 to 1. Now let's say I have some fixed number $x \in (0,1)$. My question is what is the probability that the coin lands on heads, given that $p \leq x$? In other words, what is $\Pr(H | p \leq x)$? I first attemp...
I've been handed off some data to analyze and I'm looking for something simple and straightforward. The 1 response variable/dependent variable is average percent mortality from 7 treatment groups (with 1 independent variable). These data can be analyzed using the the proportions (example: 30 of 50 trees died). I'm wo...