instruction
stringlengths
9
38.7k
In Bishop's PRML in section 1.5.2, the author introduces a loss function for classification, which is the expected loss, $$ E[L]=\sum_k \sum_j \int_{R_j} L_{kj}p(\textbf{x},C_k)d\text{x} $$ where Lkj is the loss matrix and $p(\textbf{x},C_k)$ is the joint prob distribution of input x and the assigned class Ck. From tha...
I've seen something like this in many "prescriptive analytics" software (one example here): Basically a supervised ML model has been trained to predict a KPI (target variable). After training, one can explore (with a slider) how adjusting values from each individual feature may influence the output. There is also a re...
We all know that for the OLS model, if you center both $X$ and $Y$, the estimated intercept would be 0. I was curious if we can do a similar thing for Quantile Regression. Would it be possible if we subtract the accordingly quantile from $X$ and $Y$, and then the estimated intercept would just be 0 as well? Honestly, I...
When using a Poisson GLM, its dispersion parameter can be estimated as "residual deviance/degrees of freedom". But when analyzing Poisson data with a Poisson model (i.e., not overdispersed), I found that this estimated dispersion is not around 1 based on simulation. The deviation from 1 is strongly influenced by the sa...
We have a manufacturing process $M$ with an unknown reliability $R \in (0,1)$, and, at the end of it, an automatic tool that sorts the good and bad products with a known efficiency of $E \in (0,1)$. Here is what I intend by 'reliability': Let us denote by $X$ the random variable fabricated by a manufacturing process...
We're analyzing patient MRI sections of the brain for tumour volume. We do this manually, frame by frame, drawing the borders of the tumour. To ensure more accurate results, we have used two different raters with similar experience. There are differences in two raters' results for different patients. What would be the ...
So far I have using this process: 1)split data into training and test 2)do model selection(p,d,q, P,D,Q,etc) using training data(in this case, I used autoarima) from pmdarima import auto_arima arima_model=auto_arima(x_train,start_p=1, start_q=1, d=1, test='adf', max_p=10...
I am using Process Macro model and the indirect effect (path a*b) is significant. However, the relationship between the predictor (X) and mediator (M) variables is non-significant. How would that be interpreted? Could it still be claimed that M is mediating the relationship between X and Y when there is no relationship...
I want to calculate similarity between various samples, but I'm limited to only knowing the IQR and medians. I came across a similar problem here but the top answer states that the newly proposed statistic follows the same distribution, but doesn't explain why it does: $$t = \frac{\text{Mean}_1 - \text{Mean}_2}{\sqrt{\...
I'm trying to understand few details about NT-Xent loss defined in the paper "A Simple Framework for Contrastive Learning of Visual Representations" by Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. The loss is defined as $$\mathcal{l}_{i,j} = -\log\frac{\exp(sim(z_i,z_j)/\tau)}{\sum_{k=1}^{2N}\math...
I have a (Bayesian) logistic mixed-effects model and a linear one, both fitted with brms. Both are fitted on data from human subjects that account for repetition, therefore, I have included a subject identifier as a random effect. Now, what I would like to quantify is how much the subject factor matters in the model, a...
I did a wilcoxon test in R but I don't understand how to interpret the W value and what this means in comparison to another I did result on 2 data sets and the results are: W = 9, p-value = 0.1 alternative hypothesis: true location shift is not equal to 0 W = 4, p-value = 1 alternative hypothesis: true location shift i...
I have the following time series. Its clearly not a simple linear trend. I want to explore the relationship among these variables using a VAR, or even a time-varying VAR. The biggest issue in my data is stationarity. I prefer not to difference as it removes the long-term trends as well. What would be the best way to de...
In Bayesian theorem, $p(y|x)=\frac{p(y)p(x|y)}{p(x)}$, we call p(y) the prior, p(x|y) the likelihood. While in machine learning, many models find the solution for parameters through the Maximum Likelihood Estimation(MLE) and then apply derivative to find the solutions. I thought the MLE here corresponds to the likeliho...
I would be grateful if you could help me clear up some confusion regarding conditional expectation and regression. I have seen two formulations of the linear regression framework: $$Y=a+bX+\varepsilon\qquad\qquad(1)$$ and $$\mathbb{E}[Y|X]=a+bX.\qquad\qquad(2)$$ Often, in an introduction to linear regression it is said...
I measured students' motivation using a likert type questionnaire and I want to check its effects on some dependent variables in a factorial ANOVA analysis. I wonder if it is okay to create categorical variables from it (e.g., low vs high motivated) and use it as a one factor in the analysis. Is this valid?
Setting There is a dataset in which every datapoint is a list of labels. While I don't have direct access to the whole of the dataset nor to the whole list of labels (I could probably arrange it, but it's huge and I'm hoping it's not necessary), I do have access to datapoints containing certain labels of my choice ($A...
This is probably very stupid to think about but I am just confused between the difference in adding variables, for example, 'gender', or any group, as a fixed term in regression versus adding the terms as a 'random effect' Or for example, analysing how weight influenced grip strength between healthy and stroke individu...
I'm sorry if the terminology is incorrect. I have tried to find some background information through standard google searches, but I've come up short. I work with data from a quesionnaire on health issues. Through a couple of manipulation, each answer/set of answers is converted to a dichotomous variable, where 1 codes ...
I have the problem that my logistic regression model overfits. even though I use the combined L1 and L2 penalty ('elastic net'). I have a data set with 496 features and 186 samples and want to predict a binary target. For this purpose, I thought of a logistic regression (because of binary classification) and regulariza...
I'd like to run A/B Test for Ecommerce Coupon Promotion. Random Sampling from Total User Group. Random Grouping into Experimental(Give Coupon) / Control (Don't Give Coupon) 9:1 ratio Situation likes below : Num of User Num of User who Orderd Total Sales Price Experimental 90,000(90%) 5,500 15,500,000 Contr...
I have trouble understanding how R² in a regression analysis makes sense visually in Ballantine diagrams. For instance: Obviously the red region is ignored when estimating the coefficients for x on y and w on y. But the red region must still be in the model somehow, otherwise we lose information that is useful in pred...
I have two groups of different sizes (control and test) and I want to measure the impacte of a certain treatment on the test group. Unfortunately, the control group has a different baseline compared to the test group, before the treatment was put in effect. Despite this difference in baseline, I want to be able to dete...
I'm interested in determining if an interaction exists between my continuous (SL) and factor (fZone) covariate as it has some basis in biology. An anova() and BIC suggest no interaction is needed, but I've heard the p-values in the anova shouldn't be too heavily relied upon and BIC will almost always choose the most pa...
I have a dataset of people nested within groups (6 people per group). People within each group are assigned either a condition A or B and the proportions within each group change. Each person in the group provides ratings to some stimuli. I am hoping to generate a simulation that increases this dataset using this neste...
I have a sample of individuals who migrated from Texas. They are all measured at time 0, within different census tracts. I am interested in seeing how their tract level conditions changed (based on, let's say, variable j) through their move. The individuals are not all measured at the times time 2, but are observed one...
I am interested in the analysis of interaction between variables in a regression model. First, the context : I work in marketing and the explanatory variables corresponds to marketing channels, therefore it is interesting to know what are the combinations of marketing channels that are worth in terms of sales volume (s...
I am interested in plotting the marginal effects in my GAMLSS model. However, what puzzles me a bit is that when using the term.plot() function from the gamlss package I do get estimates for the baseline category of a factor as well. However, when fitting a GAM model with the package mgcv the baseline category is alway...
When comparing model performance, is it valid to use the Wilcoxon signed rank test for matched pairs, when the accuracy metric is the Brier score? (Here, the Brier score is used in calculating the OOB error, which is available using the Ranger RF package - but this question is asked in general terms. I'm comparing two ...
I consider a linear model with an interaction term. Y = b0 + b1X + b2Z + b3XZ X, Z are the independent variables. b1 to b3 are the regression coefficients. The variances of b1 and b3 are s11 and s33, respectively; the covariance of b1 and b3 is s13. Is there a name for s13 / (sqrt(s11) * sqrt(33))? It looks like the fo...
I need some help calculating a sample size. I have two groups of people to whom I need to fill out a questionnaire. Group A consists of 45,000 people and group B consists of 3,000 people. How do I know what is the right sample size for group A and group B? Thank you very much in advance!
This question is a follow-up to this question I asked here last week. I got an important and useful answer to it, but what that led to was surprising. And once again, here is a link to the GitHub Repo for this project. I am running N LASSO Regressions, one for each of N datasets I have in a file folder to serve as one ...
I am learning epidemiology and am puzzled with the following issue. Assume we have a prospective cohort study with the following results: 1000 participants alive at baseline (N) 12 years of follow-up 200 participants died over the observation period 12000 person-years of follow-up. According to my calculations, the i...
I have multiple time series on which I want to identify statistically significant (if any) trends. To that end, I started by conducting the Augmented Dickey Fuller (ADF) test to identify which series are not stationary (thus implying an underlying trend): Augmented Dickey-Fuller Test (p-value): #0: 0.7400121258386816 ...
In Rasmussen's Gaussian Processes for Machine Learning, the joint distribution of noisy function observations, $y=f(x)+\epsilon$, at $x$ and noiseless function evaluations, $f^\star$, at unseen points, $x^\star$, given the hyperparameters of the kernel and the noise variance is $$ \begin{bmatrix} y \\ f^\star \end{bmat...
I came up with the certain identity relating difference between Pi and convergents to Pi on the left hand side via expression with five integer parameters (n i j k l) on the right hand side. For each "n" I obtained some empirical solutions in the form of (i j k l) set via computer program utilizing brute force trial an...
Background: I have trained a deep neural network model with 3 hidden layers of size 32,32,16 for binary classification problem. I have 9 input features and a 0 or 1 as output. My aim is to use this trained model in an application where I provide the 9 features (computed dynamically in the application code), and I get a...
I am working on implementing a model in R. I thought I had a pretty good approach, but one of my collaborators has pointed out that the model degrees of freedom from lmerTest don't make sense for the interaction term. First, a description of the experimentIn my data I have two fixed effects: "Species" is categorical, w...
sorry if this has been asked before but I have searched the internet a lot but have not been able to find a satisfactory answer. I have a time series (approximately 25 points) and I have implemented Binary Segmentation to detect a changepoint in the time series. My question is, how do I see if this changepoint is stati...
Consider $X(ij)$ for $i = 1, ..., n$ and $j = 1, ...,n$ be random variables. I proved that for each i, the sequences $X($i$j)$ converge in distribution to random variable Y as $n$ tends to $\infty$. More precisely, $ \begin{bmatrix} X(11) & X(12) & X(13) & X(14) & ... & \rightarrow_d Y \newline X(21) & X(22) & X(23) &...
Does it have to do with the interdependence of one equation on the lagged values of its own as well as the other equations? If I remember correctly, in simultaneous equations, cross-causality is also a cause for endogeneity, but in VAR models the causality moves in one direction, the past impacts the future and not vic...
I have come to know about scatterplot matrices, where pairwise scatterplots for covariates are built and then binary responses are jittered. This plot is helpful to give an idea about how each covariate has an effect on the response without fitting a logistic regression. But I actually don't understand the plot really....
I have two arrays of data: # of Files Time to Process in seconds 1 8 2 20 3 31 4 76 What I'm wanting to do is come up with an estimate of how long it will take to process n number of files. I have processed 1-4 files and have noted the time it takes in seconds to process n number of files. I guess I'm...
What properties should there of a subscale to be used independently of the whole scale? I am looking for a scale that measures a specific perceived parenting style, but there is no scale for it. Instead every other scale has multiple constructs. Now, the issue is the number of items along with other constructs of no in...
I am trying to build a logistic regression model. My test and training sets are generating almost the same AUC. Ideally- this means that the model is performing very well. But since, I got this result at my very first attempt of building this model- I am a bit skeptical in accepting the fact that I have come up with a ...
I plan to run a logistic regression model to understand the influence of temperature on the occupancy of a hare species. However I can't decide on which aspect of temperature should I consider as my covariate? Is it minimum temperature that I should take? maximum? mean? how do I determine which one would be the best on...
I am reading a topic about point estimation of model parameters. I understood it as follows: We have "observed" a sample $X_1,...X_n$ where we know it's distribution, i.e. the sample is identically distributed w.r.t. $\mathcal{F}_\theta$ where $\theta\in \Theta$ is a model parameter (not necessarily one dimensional). ...
Suppose I run AB testing for a website that does subscription business. The company offers a free trial for 7 days before automatically enrolling users to subscriptions and charging them unless they cancel before the trial ends. The treatment is trial reminder message at the checkout page and a push notification before...
Above is a snippet of a dataset I am working with. It is a pull from a research tool presenting a set of many different and distinct attributes that have been sorted into numerous "categories" and "insights", some of which only occur once in the dataset (e.g. "Horror" or "Entertainment Lifestyle" on the far right.) an...
I am trying to estimate the effect of an experimental intervention (random assignation to treatment and control groups) with the percentage of people in each group assisting to government services as the outcome variable. If i just wanted to know the impact of the intervention, a simple difference in the percentages wo...
When dealing with non-stationary time series (for instance, in auto-correlation analysis), differencing (computing absolute differences between consecutive samples/observations) is often regarded as the simplest method of de-trending the data. In theory, the first derivative (similar to what is obtained when computing ...
I was reading this amazing article about FWL theorem and it's application to causal inference. In the article, there are some examples showing that the coefficients of an OLS estimator is the same when estimating the coefficients using the FWL theorem. If that's the case, what is the point of using causal inference to...
I am struggling with the following problem: $X_1, X_2 \sim N(0, 1)$ are independent random variables. Let $Y_1 = \frac{1}{\sqrt{2}}(X_1 + X_2)$ and $Y_2 = \frac{1}{\sqrt{2}}(X_1 - X_2)$. Show that $Y_1, Y_2$ are independent, and have $N(0, 1)$ distibution. So $$Y_1 ∼N\left(0, \left(\frac{1}{\sqrt{2}}\right)^2\times 1 +...
I have a data set in which all patients have a particular disease. The disease has three varieties labeled as 0, 1, and 2 in the data set. I want to know the association of a particular drug with this disease. Some of the patients are taking the drug some are not. For the case-control study, If I assume the patients wi...
I am reading a paper where, on the page 13, the authors state that the survival times $T_i$ are generated from a proportional hazards (PH) model with hazard function: $$\lambda_T(t\mid X_i, W_i)=\exp(\beta X_{i1}+(-0.5-\gamma_1 X_{i2})W_i)\sqrt{t}/2$$ where $W_i$ is the treatment assignment. The censoring times are gen...
My understanding of principal components regression (PCR) is that it is a linear regression performed on all or a subset of predictors obtained via PCA. All the resources I've read only apply linear regression following the PCA step, but I've found nothing that explicitly warns against using other regression models. Do...
When presenting data under the form of a table, an error can be to omit mentioning the unit of measure, leading to possible misinterpretation. What are some other possible mistakes to avoid? Additionally, what are some things to do to improve a table? (while not doing these things won't necessarily generate misinterpre...
I have 20 years' worth of observations that either say YES or NO to the question of whether breeding was observed. I want to present the averages of the YES observations across the years, demonstrating what the average breeding effort looks like across a 20-year period. My issue is that early on a lot fewer observation...
So I estimated a particular statistic $\Phi$ (custom made) by bootstrapping 1000 samples from the original dataset to generate 1000 different $\Phi$s. The issue is that saving those 1000 bootstrap statistics was not at all memory efficient, so I decided to just save the summary statistics from the bootstrap samples. Sa...
How would I smooth a series of data without losing the ends of a series? For example, if I have $i_1, i_2, \dots, i_n$, and I apply a moving average, I lose the start and end of the series ($i_1$ and $i_n$, certainly, and perhaps more). I can't seem to find any smoothing method that lets me keep both ends of the series...
I am hypothesizing that a certain event caused prices of commodity A to become more volatile. I obtained monthly price data for commodity A as well as a price index for a larger bucket of products similar to commodity A (let's call it B) which I will use as a control. I have 10 years (120 periods) of data for both befo...
An enemy that can drop loot has a 10% probability of spawning out of all enemies. Only one model type can drop loot out of 8 models (1/8). What is the probability of a specific enemy dropping loot, if they are the model that can drop loot? Would 0.1 + 0.125 = 22.5% chance be correct?
I've made the gam in the code below (in R), but I'm struggling to interpret the results. Specifically, the partial response plots for all but one of the variables is linear, and the CI lines cross in the middle. I've done some looking around and can't find out what this means. Given these plots, is this model valid? Is...
I would like to use a generalised linear model to analyse data on the relationship between the size of a host and probability of parasitism in a wild population to determine the minimum host size at which parasitism is likely. The independent variable is continuous (host size) and the dependent variable is binomial (u...
I am interested in adding a variable to a repeated measurements model, LMM (3 measurements of QOL). But unlike gender, for example, which does not change between measurements, the variables I want to add are dichotomous indicating whether a patient was hospitalized between the first and second measurement and likewise ...
How many samples are required to identify the most frequent element? I'm assuming the frequency of the elements in the distribution follow the power law.
I have a score (ranging from 0 to 1000) which predicts a binary event. The score is based on a regression. Scores are binned. There should be a maximum of $x$ (e.g. $10$) bins. Predicitions within a bin should be homogenous meaning they have a similar average rate of the target. This is normally tested by splitting all...
I have a dataframe of 411 rows where each row represents a pass (football) and four columns. Two columns are the x and y coordinates of the location where the pass starts, and the other two columns are the x and y coordinates of the location where the pass ends. I am trying to implement pseudocode from an academic pape...
If X is observed and unobserved, how many free parameters are needed respective?
I'm trying to calculate the expectation of the following numerically: $$\mathbb{E}[V(\theta)]$$ where $\theta\sim N(\mu,\sigma^2)$ and $V(\theta)$ is strictly increasing. I'm struggling to understand what would be the efficient grid points where there are no upper and lower bounds. If I imagine 1000 uniform grid points...
I am trying to plot fitted values (fitted.sens.early) of the models below as a line over the original values (reading) as points. But I changed from using lme() to lmer() and the produced graphs don't match up. I cant figure it out myself, so if anyone could help out, that would be greatly appreciated! An exerpt from m...
As part of my master's thesis, I am currently investigating the impact of a law in the area of tax law on municipalities. Usually, according to the literature I found, the differences-in-differences approach is used in such cases. I have data from about 70 municipalities over an eight-year period. Now in my case I don'...
I have a group of patients that I want to match on a number of variables: age, sex, BMI in category (5 categories), year and comorbidity score. In order to be computationnaly efficient I'd like to do an exact matching on year, sex and BMI category, then nearest neighbor matching or optimal matching on the other 2 varia...
Let $X$ be a random variable with p.d.f.: $$f(X|\theta) = \frac{e^{x-\theta}}{(1+e^{x-\theta})^2}$$ where $-\infty<x<\infty$ and $-\infty<\theta<\infty$ Use the pivotal method to verify that if $0<\alpha_1<0.5$ and $0<\alpha_2<0.5$, then $$\left[X-\log\left(\frac{1-\alpha_2}{\alpha_2}\right),X-\log\left(\frac{\alpha_1...
Thank you very much for your attetion! I am working on an observation study with time-to-event data. The data has multiple covariates say V1-V5. I want to evaluate the treatment effect, so I used IPTW (weightit package) to balance V1-V5. Balance was achieved between treatment group after IPTW. However, the KM curve and...
I have a multiclass timeseries classification problem with 11 classes. The class 0 is my negative class, and the classes 1~10 are the positives and they are generated (using some equations) based on the samples from class 0. Those timeseries are hourly measurements of energy consumption in kWh. One of those positives c...
as you can see on the figure i linked i am currently fitting my data (which looks like a sigmoid) using a function i defined with 5 parameters. def sigmoid(x, L, x0, k, b, e): y = (L + e*x) / (1 + np.exp(-k*(x-x0))) + b return y then as i said i'd like to have an idea of how good my fit is (kolmogorov, chi2) so i wen...
I have an experiment with time series data (spike rates). A Python script calculating their autocorrelation with statsmodels.tsa.stattools.acf was apparently giving different answers than an implementation of equivalent logic in Python, using the same bins and 99 lags in each case. The answers had the same pattern, bu...
You'll often see the goal of a statistical estimation problem as being to fit a model such that it $\approx p_{*}(y|x)$ where $p_{*}(y|x)$ is the "true distribution of the data". My question is: what uncertainty is possessed in this "true distribution of the data"? Does it assume infinite training data...in which case ...
I am struggling with the following problem (casella & berger 4.30(b)): $$ \text{Suppose that} \;\;\;Y|X=x \sim normal(x,x^2) \;\; \text{and} \;\; X\sim uniform\,(0,1).\\\text{Prove that} \;\;\frac{Y}{X} \;\text{and}\; X \;\text{are independent.} $$ My attempt: $$ \text{Let} \; u= y/x \;\; \text{and}\;\;v=x. \\ \text{Th...
From a total of $N$ words i have the following dataset where the first column represents the ranks and the second the frequency. For example $$\begin{array}{cc} 1 & 4300 \\ 2 & 3100 \\ 3 & 2500 \\ 4 & 1900 \\ \vdots & \vdots \end{array} $$ I want to find the constant where satisfies $$cf_i =\frac{\text{const}}{i}$$ whe...
I did a power analysis to calculate the sample size in GPower. Now I'd like to do the same in R. However, I am not able to figure out how... I found ss.2way but that seems to require different inputs. Is there any way to calculate the sample size for a 2x3 design in R? Thanks in advance. This is the GPower input/output...
Is it true that for a square symmetric matrix such as the covariance matrix, the singular values are equal to the eigenvalues? The eigen decomposition for covariance is the same as singular value decomposition?
Let say I am sampling from a population with an unknown distribution to approximate the mean of the population. I am trying to figure out how large my sample size n has to be in order to guarantee with 95% confidence that my sample mean is within, say, 1% of the population mean. I know I can get the 95% confidence inte...
In page 64 of Bayesian Data Analysis by Gelman et.al. they write ... sensible vague prior density for µ and σ, assuming prior independence of location and scale parameters, is uniform on ($\mu$, $\log~\sigma$) or, equivalently, $p(\mu, \sigma^2) \propto 1/\sigma^2$. Also in page 87 of The BUGS Book (pdf download) the...
I'm a physicist trying to finally get a hold on practical statistics for particle physics and am having problem with the following -- I apologize for the lack of formality below. Suppose the number of events within a single channel is governed by a Poisson distribution $P(N,\mu)$, whose parameter for Null ($\mu_b$) and...
What kind of deep learning is the generation of numerical features (Y) from objects (X) used to compute a score (f(.), differentiable) that is to be maximized directly? Basically NN$\theta$(x) = y, f(y) = score, so $\frac{d score}{d\theta} = \frac{dy}{d\theta} \frac{d f(y)}{dy}$ can be used for backpropagation; f(.) ca...
I want to characterize the relation of a few input parameters to a single output parameter. The problem I have is that my data is collected from several groups. The groups are defined both by the input parameters and by how the input parameters interact with the output parameter. I don't know the identity or proportion...
I am using R. I have a dataset that looks like this using srt(): 'data.frame': 233 obs. of 3 variables: $ Design : Factor w/ 4 levels "Crossover","Observational",..: 2 3 3 3 4 3 3 1 3 2 ... $ Status : Factor w/ 3 levels "Active","Passive",..: 1 1 2 2 2 2 1 1 2 1 ... $ Outcome: Ord.factor w/ 3 levels "Positive"<"N...
I I want to perform a paired t-test to check if there's some effect, I have the distribution of "before" and the distribution of "after" the manipulation. Do I need to assume the population variances of the two distribution are equal ?
As I am reading about recommender systems in Machine Learning, UV decomposition caught my eye (click for an explanation or see below). So I have two questions: Question 1: what are the drawbacks of trying to UV-decompose a 1 by m vector into a product of a 1 by d ( $U$ ) vector and a d by m matrix ($V$)? As far as I ca...
Define $\pi_i$ as the probability that person $i$ will be missing from your sample and $Y_i = 1$ denotes that a subject is missing. Say we're in a missing at random (MAR) scenario where $\pi_i$ depends on two known continuous variables $X_1$ and $X_2$: $$logit(\pi_i) = \beta_1 x_1 + \beta_2 x_2$$ Let's say that I intro...
I have a known distribution for my population, and it is very right skewed. Let's say Lognormal with mu = 0 and sigma = 3. The mean of this distribution is about 90, and the median is 1. For a given sample, I am interested in knowing the ratio of values in excess of a certain threshold (lets say 90) to the total sum of...
I am planning a study where we have a low number of observations. We know we need to control for at least two variables, but other variables also exist that we can control for. It seems to me that adding variables to an analysis is always best. By controlling for the variables that have the largest effect, we can reduc...
There are two classifiers; Classifier_A -> [A] Classifier_A outputs a binary variable either A or nothing (implicitly not A). Classifier_B -> [B, C, D] Classifier_B outputs any n-combination of B, C, D. All three variables are booleans. And a lack of an output implicitly implies that that output is false. Multi-class....
I am working on a multilevel analysis aiming to investigate factors that impact student GPA. The data comes from 16 different schools. To include school effects, we are using a mixed effect model (with random intercepts). However, I would like to understand the effect of school tuition on student GPA and I am confused ...
I think I understand what average precision is: the area under the precision-recall curve.The curve is constructed by calculating the precision and recall metrics at each threshold. There are a few methods how you actually calculate/approximate area but that is not the focus of my question. For me it was clear how AP i...
I have been using GAMMs to analyse time series data and I have included a smoothing term (hour of day by season) and I cant seem to find the results for the winter season. I have the proper information (edf, Ref.df, F, and p value) for all my smoothed terms and each season except for winter. I am using the summary func...
In my team we do a study on a group of patients undergoing abdominal surgery and we evaluate the correlation between frailty amongst patients and complications. Background knowledge: We use a frailty-score (Clinical Frailty Score, CFS) where 1 is non-frail and 9 is severe frail. Patients are categorized into three grou...
Let's say I have $n$ samples which are vectors of length $p$. I know that the $p \times p$ sample covariance matrix is singular if $n \leq p$. Is there another estimator for the covariance that results in a non-singular matrix when $n \leq p$? My goal is to estimate covariance from many datasets and then quickly sample...