instruction stringlengths 9 38.7k |
|---|
I want to predict the relationship between the number of groups a person belongs to and their overall well-being (totalwell). However, I would like to consider the possibility that a person could belong to numerous groups of low quality. To address this, I intend to use participant MapID and group_quality as random eff... |
I read the textbook in Cramer-Rao lower bound (CRLB). Here is a theroem
For some $\tau=\tau(\theta)$, there exists an unbiased estimator $\hat{\tau}$ of $\tau$ such that $Var(\hat{\tau})$ attains the CRLB if and only if the distribution belongs to an exponential family ($X\sim f(x; \theta)=\exp(a(x)b(\theta)+c(x)+d(\t... |
My code for generalized additive model with the beta family.
library(mgcv)
df['outcome'][df['outcome'] == 1] <- 0.99
df['outcome'][df['outcome'] == 0] <- 0.01
mod <- gam(outcome ~ s(stage, k = 4, fx = TRUE), data = df, family = betar(link="logit"), method = "REML")
summary(mod)
plot(mod,
trans=plogis,
shift=c... |
I have a linear regression model with the outcome variable CoC (continuous variable). Independent variables, two hormones(H1 and H2) and a moderator Age. All continuous variables.
Can I simply add both the product terms with hormones and age ( H1Age and H2age) or have to follow some criteria or add them one by one?
... |
I was reading this article on saturated models in structural equation modeling (SEM) and it appears they describe a tool for checking how well the model fits data even if the model fit indices indicate a "perfect fit" under raw data misspecification. They simply take the individual case residuals (ICRs) and plot them a... |
Hypothetical example: Let's say someone is interested in the correlation of two continuous variables; let's say the correlation between test scores (specifically test scores on a math test and a verbal test) with cortisol levels in people with depression. They calculate Spearman's rho for 12 subjects and they find a st... |
I am trying to estimate a DCC GARCH model with an external regressor in the DCC equation. However, the external regressor option in the rmgarch package is for the VAR option. Is there any way I can include the external regressor please?
|
I performed PCA on 33 items with 133 observations. Considering the criteria to take components with eigenvalues >1, 4 factors can be extracted. I then did varimax rotation of those. However, I noticed one variable load under different components. So in this case, how can I say which variables load under a particular co... |
I have data of glucose measurements of 100 patients taken at 2 different time points. Of these, 40 people were taking pioglitazone drug and 60 of them were on placebo. I want to test (1) whether there is change in glucose between the time points and (2) whether the change is different between drugs.
I have done a pairw... |
We have the following convex optimization problem:$$
\text{minimize} \quad f({\bf X}) \quad \text{with constraint} \quad \|{\bf X}\|_{\rm tr} \leq t
$$
Where $\|{\bf X}\|_{\rm tr}$ is the Schatten 1-norm/nuclear norm. Say we proceed using the Frank-Wolfe algorithm. What do the Frank-Wolfe iterates look like?
|
Online I found many definitions of stochastic processes, but none of them was intuitive or easy to understand. I was wondering if someone could provide me with some example and definition to deeply understand this fundamental topic in time series analysis
|
As far as I know, under satisfied assumptions for OLS, the estimates acquire qualities like BLUE, MVUE, MLE.
But in the case where there is a priori knowledge of the influence of each data point, it is not obvious a weighted errors or just a errors should satisfy assumptions, particularly homoscedasticity and normality... |
I am currently writing a Master Thesis about the relationship between academic freedom and World University Rankings (such as ARWU, Times Higher Education, etc). I am using panel data.
My dependant variable is the ranking obtained by each university (going from 1, the highest, to 500, the lowest). Because of the large ... |
I have a question that emerged from a programming problem: I need to select a winner among $n$ participants with probability proportional to integer weights $w_1,\dots,w_n$. Each participant can generate uniform random variables, but I cannot combine these variables or pick among them. Importantly, this means I can't j... |
The question was inspired by these comments to my other question. I have proved this proposition some time ago and could not find any issues in it.
It consists of two parts:
1. Where does my proof of $\overline{\xi_n}=\frac{\xi_1+...+\xi_n}{n}\xrightarrow{d} \mathcal{N}(a, \frac{\sigma^2}{n})$ break down?
2. Why (if th... |
So everywhere I've looked, I have seen the two parameter Pareto distribution formulated as
$\frac{\alpha\lambda^\alpha}{x^{\alpha+1}}$. The distribution we are using in our course is $\frac{\alpha\lambda^\alpha}{(\lambda+x)^{\alpha+1}}$. I am required to simulate values in R for this, and R documentation shows it also ... |
I am working with pseudo-panel data (UK Cost of Living and Food Survey), which means I am observing expenditure data for different households every month over ~10 years with data on demographic controls. I want to find out what the price elasticity of demand $\eta$ is for a certain item.
I have the following model, whe... |
In goodness-of-fit tests, we would like to check if given data $(X_1, \dots, X_N)$ has a distribution $f$. We do this by writing an orthogonal expansion $$f_K(x,a) := \frac{f(x)}{c(a)}\text{exp}\left(\sum_{i=1}^K a_i \psi_i(x)\right),$$ where $c(a)$ is just a normalization term.
We test the null hypothesis that $\left(... |
I'm unable to use the rmanova function in the WRS 2 package that computes a one-way repeated measures ANOVA (see page 25).
> head(WineTasting)
Taste Wine Taster
1 5.40 Wine A 1
2 5.50 Wine B 1
3 5.55 Wine C 1
4 5.85 Wine A 2
5 5.70 Wine B 2
6 5.75 Wine C 2
rmanova(WineTasting$Ta... |
I'm carrying out a study comparing the abundance of a few species between two treatment groups. I have carried out an NMS analysis to compare overall community composition and structure, but I also want to compare the abundance of each individual species.
I'm using a GLM in R with family = negative binomial and link = ... |
this might be a very specific question
i have a coin with to sides ("true" and "false") and i need to flip the coin 6 times
each "true" flip is represented by a letter from A to F the first flip being A and the sixth being F
every flip after the first replaces the letters before it if the outcome was "true" (B replac... |
When will a certain event occur?
It is very probable that a certain event occurs within one hour. Using the following samples for the event to occur previously: {25,26,34,56,72,76,76,86,88,88,106,148,151,151,161,195,200,214,215,215,220,231,243,245,247,257,263,265,288,295,314,339,342,342,353,368,407,413,436,447,469,470,... |
I am new to longitudinal data. I need to simulate the following linear mixed model: there are 500 subjects and 10 visits. Let $Y_j$ be the response of the visit $j = 1, \ldots, 10$, and let $x_{j1}, x_{j2}$ be covariates. The responses have the following expected value:
$$E(Y_j) = \beta_0 + a_j + \beta_1 x_{j1} + \beta... |
Sorry if this is a really simple question but I'm new to this and wondered if there's an easy way to do what I'm picturing.
Imagine I've got a bunch of people and I'm asking them what they've eaten in the last week. Each person will have a list of foods they have eaten, and a frequency of the number of times they've ea... |
In a previous question I've asked How to estimate the (approximate) variance of the weighted mean?, specifically, how to prove the following formula:
$$
\widehat{\sigma_{\bar{y}_w}^2} = \frac{1}{(\sum{w_i} )^2} \sum w_i^2(y_i - \bar{y}_w)^2
$$
For some weighted mean:
$$\overline {y_w} = \frac{\sum{w_i y_i}}{\sum{w_i}}... |
I am using a Repeated Measures Mancova with 4 factors, each one with 8 groups. I also included 3 covariates in the analysis. I discovered there was a significant difference between at least two groups in one of my interactions.
I would like to apply a Pairwise comparison to compare separately the groups of my factors... |
I'm dealing with a problem related to explainable AI. The short version of the issue I have is that I've observed some interesting differences between large and small BERT models and I suspect that noisy gradients are the cause. I know gradients are noisy - Integrated Gradients and SmoothGRAD address the saturation and... |
My goal is to run a panel-regression in order to asses the impact of county-level average household income on test-scores across a wide array of undergraduate-level university courses.
Specifically, I have observations on test-scores in course $j$ for student $i$ in semester $t$ where $$j\in\{\text{calculus, linear-alg... |
I have data from a study where participants completed 3 interventions in a randomized order (1 week washout period), and where in every intervention, outcome measures were taken every 15 minutes over the intervention duration (3 time points). I therefore have two levels of repeated measures. My data in long form in SPS... |
The coefficients I'm seeing from a merMod model produced by lmer are not what I'd expect. I made a reproducible example to illustrate.
I assumed that the Days coefficient reported for a nested effect (in this case, subject "308" within "Cohort1") would be the sum of the Days fixed effect plus the random effect coeffic... |
Got the following question:
Here is the provided answer:
I am confused about where the $9$ coefficient is coming from above. Any thoughts?
|
Let's say my survey population size is 1000 and I send a survey to all 1000. And only 200 responded. Is the 200 considered my sample size? If yes, can I calculate a margin of error on the questions in the responses?
|
if you have a confusion matrix :
actual
0 1
0 2658 204
1 24 110
y-axis = predicted
x-axis = actual
You have 90% weight on specificity (i.e. 2658+24/(2658+24+204+110)
and 10% weight on sensitivity (i.e. 204+110 /(2658+24+204+110)
The primary reason why you use th... |
Say I have two pairs of random variables, $X_1,...X_n$ and $Y_1,...Y_n$, both continuous. With probability 1, the distance $|X_i-Y_i|\leq \eta_{n}$ for all $i$, and the distance converges to 0. I am curious if the sample quantiles still have some correspondence, i.e. if $X_{1}$ is the smallest value among all $X$s, wou... |
I am using binomial GAMs with mgcv in R to model binary species presence on a hydrophone against environmental (chlorophyll-a concentration, sea-surface temperature, sea-level, vessel presence) and categorical temporal covariates (season and photoperiod):
M <- gam(Species ~ s(Chla, bs="ts") + s(SST,bs="ts") +
... |
I am interested in investigating spatial clustering in a certain dataset. Spatial clustering is a technique used in data analysis to group together objects or data points based on their proximity in space. In spatial clustering, the goal is to identify groups of objects that are close to each other in physical space an... |
We know that selection bias occurs when the treatment and control groups are not comparable, leading to differences in the outcome that are not solely due to the treatment.
First edit: By selection bias, I mean treatment mechanism is nonrandom. This would also lead to differences in the outcome that are not solely due ... |
I have been presented with some interesting questions but unfortunately, I am struggling to provide satisfactory answers. The questions are as follows:
How will the regression coefficients of two variables be impacted if
their correlation is 0.999 in OLS? What are the implications for Lasso
and Ridge? And how do we de... |
Suppose I have an input data set of dimensionality D, which computes M output variables using some black-box-calculation (in my case an FE simulation model). I know that these output variables are correlated, so modeling them in a multi-output Gaussian process would be helpful. My question is: if my Gaussian process sh... |
Suppose we have a continuous random variable $X$. We do not know its distribution function, but have $n$ i.i.d. samples.
I am looking for methods that quantize (discretize) $X$ into a categorical variable $\tilde{X}$ with $k$ level.
The most naive method is the uniform quantization, where each quantization bin has the ... |
I would like to test following. Suppose I have a normal distribution with mean 1.5 and sigma 0.5 on interval [0, 3]. Python code:
import numpy as np
import matplotlib.pyplot as plt
mu = 1.5 # mean
sigma = 0.5 # standard deviation
n = 1000 # number of samples
# generate normally distributed random numbers with mea... |
I'm trying out the adjustedCurves package in R for estimating confounder adjusted survival curves, and I'm starting with the standard "lung" dataset demonstrated in the examples in http://www.sthda.com/english/wiki/cox-proportional-hazards-model.
When I run the below code against the "lung" dataset, such code based on ... |
Power analysis for linear model test asks for an analytical expression of the power of a linear model. The answer claims that
Note that this depends on the correlation between $X$ and $T$, $r_{TX}$.
In practice, when running the power analysis of an experiment, prior to the experiment, you don't really know this (the... |
I am aiming to estimate a hurdle model (where being non-zero is the hurdle) in the vein of Cragg. My data is both positive and negative where the data reflects the difference between a value reported initially and then in a follow-up.
The hurdle is effectively that an individual does not report the same value twice in ... |
I have a data including province, district, number of household in need (nohhinneed) (dependent variable), a score about socioeconomic status (ses), total number of households (sumhh), etc.
When I make a model, predicted results can be negative as well but I'm predicting number of households in need, it cannot be negat... |
Consider a hypotheses testing problem: an i.i.d. sequence $\mathbf{x} \in \mathrm{X}^k$ is generated according to either $P(x)$ or $Q(x)$. After observing it, we want to decide which distribution has generated the sequence.
In a non-randomized test, one accepts $P$ if $\mathbf{x}$ belongs to some set $\mathrm{A}\subset... |
I have a continuous dependent variable and one categorical independent variable (with three levels). For the three levels, I have 42, 33, and 45 observations respectively. So, in short, I have unequal sample sizes.
I want to run a linear model. But I am unsure how to account for the three levels' different sample sizes... |
I have two decision trees that gives each individual a rating based on the same 4 parameters (two quantitative and one qualitative). They are supposed to be exactly the same, but give different results (which indicates some error).
I have the thresholds for one of them, but the ones for the other decision tree remain u... |
I have 4 groups in which I have for each 7 days
Days G1 G2 G3 G4
Day1 85 16 32 92
Day2 23 9 11 33
Day3 41 2 21 27
Day4 19 6 6 15
Day5 6 1 3 7
Day6 28 5 2 6
Day7 66 11 15 27
And I would like to compare each group by the proportion ... |
I am trying to run a Friedman Test on some data in R. I would like to measure a 3-way interaction with a repeated measure. However, I keep getting a persistent error message when I run the code and cannot figure out what the issue is.
Below is a description of my data with a dput for reproducibility:
cl_conc (response... |
Subspace test for multivariate normal distribution
Suppose $X_1, X_2,\ldots, X_n$ are i.i.d. observations from a multivariate normal distribution $N(\mu,\Sigma)$ where $\Sigma$ is known. Furthermore, assume that $R$ is a given matrix and $r$ is a given vector. Use the likelihood ratio procedure to produce a test statis... |
I implement a GARCH-DCC model in Python, for number of asset = 2. My implementation is the following :
def garch_dcc_specification(
self,
eps_last: Optional[np.ndarray],
cond_var_last: Optional[np.ndarray],
q_last_t: Optional[np.ndarray],
) -> SpecResult:
if eps_last is None:
eps_last = np.z... |
I am trying to run a Friedman Test in R with a repeated measure, however, my data do not qualify as an unreplicated complete block design. I am wondering what alternative test I can run as a 3-way repeated measures ANOVA and Friedman test are not appropriate.
I am interested in knowing the interaction that soil_type, t... |
Wondering if anyone can help. I’m trying to compare two regression models with one predictor to see which best describes the data.
Model one is a linear model (y = ax + b) with R2 = .036, F = 3.047, p =.084
Model two is a reciprocal quadratic model (y = a(1/x)2 + b(1/x) + c) with R2 = .072, F = 3.128, p =.045
As you ca... |
I ran a non-linear regression using scipy's curve_fit. I fitted the data using an exponential function $y=a \ e^{bx}$ and calculated the confidence intervals. This is what I get:
However, when I fit the data using a 3-parameter exponential function $y=a \ e^{bx} + c$, I get much wider confidence intervals:
Why is tha... |
I am supposed the investigate viscosity related phenomena in water flow through a horizontal pipe, connected to a water tank at one end, and with clear opening on the other. Mounted in the middle is perpendicularly protruding vertical manometer tube with height markings.
Depending on the pressure induced by internal fo... |
Thank you for any help. I am looking at the interaction of time with plasma biomarkers in the brain. Here is the code that I ran:
test = lmer(precuneus.dvr ~ Cage*time + sex*time + race_binary*time + NFLz*time + (1|idno),
data = testDFlong30,
na.action = na.omit)
precuneus.dvr: is... |
I've begun working with estimating confounder-adjusted survival curves using the adjustedCurves package in R and I need help interpreting results. Image A at the bottom shows a simple Kaplan-Meier survival plot for the data, where I only model the OCL density variable (only 2 states for this variable, values of 200 or ... |
I am analyzing 30-day mortality associated with two treatments. I am planning to use IPTW. I would like to account for time in my propensity scores. The study inclusion dates span 15 years, so I would like to account for date of hospital admission (i.e. study entry date) in my score as I think medical practice changes ... |
I am prototyping a pipeline on the FSDD dataset (audio/10-class classification); the audio data are loaded with librosa, 0-padded/trimmed to 0.5 sec (4000-dimensioned numpy vectors) each and converted to mel-spectrograms with a 512 frame size, 256 hop-size and 80 mel banks. That yields mel spectrograms with a (80,16) s... |
I am trying to find conditions for the root-n consistency of a generic L1-penalized M-estimator in a fixed p setting. I was able to find those for L1-penalized likelihood and regression (Fan, Li (2001)) and for my case but with diverging p (Negahban et al., 2012). In the latter in particular they state that in the fixe... |
I have a set of points $P_i$ which are described by an angle $\theta_i$ and a magnitude $r_i$.
$\theta_i$ follows a Uniform distribution $(\theta_i \sim U(0, 2\pi))$ and $r_i$ follows a chi-k distribution $r_i \sim \chi_k$.
Is there any way of describing this distribution using a multivariate distribution in cartesian... |
I have read through the emmeans "Basics of EMMs" vignette, "Working with messy data" vignette, and this Stack Overflow post but am still having a hard time knowing which 'weights' argument to use when factor levels have uneven numbers of observations.
I am using binomial GAMs with mgcv in R to model binary species pres... |
I am trying to implement Attention Is All You Need paper from scratch in PyTorch. So far, I implemented the Scaled Dot-Product Attention layer and the Multi-Head Attention layer. As I began to write the code for the Encoder, I am facing a question I have not yet found an answer to: How do I go from embeddings to querie... |
I'm currently running some simple linear regressions to compare predicted animal movements (time spent in a movement/behaviour) with ground truth information of movement.
I have transformed the raw data for the regression analysis to get statistics such as model R2.
Question - is it ok to plot the raw data with a fitte... |
Noncentral F-distribution is used frequently in communication areas. In one of the applications, I need to do a sum of two i.i.d R.V having non-central F-distribution with parameter 1 (d.o.f for numerator), $N-1$ (d.o.f for the denominator) and $\lambda$ (non-centrality) parameter of the numerator. Is there any standar... |
I'm learning about variance reduction for Monte Carlo methods and I am confused about how to calculate the "estimation error" of a given method.
My question is how should I interpret "Estimation Error" given the context below?
In my textbook, there is the following setup:
We have a Random Variable ${X}$ with a given di... |
Given a reference distribution and an unknown sample, we need some statistical test to determine if the unknown sample came from the reference (one-sample test), or given two samples to determine whether they are realizations from the same distribution.
A very popular test for both is the one-sample Kolmogorov-Smirnov ... |
I have a question about modelling but I don't even know what kind of model to start looking into.
I have panel data with multiple waves. The response variable I'm interested in is categorical variable (let's call it status). This variable has three categories: willing to be vaccinate, unwilling to be vaccinated and vac... |
We are working with some time series data that look like the following:
We have three individuals (a1,a2,a3) and then several observations at regular time-intervals. Here, we have 12 time intervals. At each interval, we have one coded behavioral variable (A, B, C or D).
What we would like to investigate is how "synch... |
I have a set of 100 data point pairs, representing the estimated $(x_{\mathrm{est}},y_{\mathrm{est}})$ position coordinates of a physical object, calculated based on sensor range measurements. Knowing the exact ground-truth position coordinates $(x_{\mathrm{true}},y_{\mathrm{true}})$ of the object, what is a good choic... |
An ROC curve is plotted with (1-False Positive Rate) on the X-axis and the True Positive Rate on the Y-axis. However, the way in which each point of the curve is plotted is by first picking a cut-off probability value below which all samples are classified as negative and above which all are positive. And using this de... |
Fractional factorial designs (FFDs) and Response Surface Methodology (RSM) are both approaches to extracting some information about how multiple interacting factors affect a response variable. Their value lies in the fact that they involve much less time and investment to perform than the classic (and easier-to-underst... |
I am analyzing the effect of covid rates and covid lockdown levels on murder and suicide rates for the 50 most populous counties in the U.S. I am not sure what to do to analyze the question in aggregate terms- I have transformed the data into panel data: I have 36 months and 50 counties, so 1800 cells of data for suici... |
I am running a binary logistic regression analysis in R software using rms package. Due to the small sample size (n=96), I used all data as training data. Given that I don't have test data, what method do you suggest for evaluating/validating the model?
|
I've been trying to implement and extend some results from the papers "Always Valid Inference" and "Peeking at A/B Tests". The authors provide a closed form expression of the "mixture" likelihood ratio for a two-sided alternative hypothesis (i.e., where $\Theta$ can be any real number).
I'm interested in developing a... |
I am dealing with different problem where a count data has to be modelled either with binomial distribution or hypergeometric. I have done a extensive literature read and it seems that occurence equal to 0 (count equal to 0) does not provide any information to te posterior distribution of a potential beta distribution ... |
I am intrigued by the discussion of scoring-rules yet I am left wondering about its practical implementation; I hope this thread can ameliorate that for me and ideally others. Tabling the issue of the forecast combination puzzle, I am interested in the application of scoring rules with respect to stacking methods, disc... |
I have a prediction task at hand, and I'm deciding on how to sample my data and train a model with no look-ahead bias.
Given a time series $Z$, my task is to build a simple predictor of size $m$ (think of a causal autoregression $AR(m)$, or anything else), that predicts the immediate next value in the time series. I'd ... |
Let's suppose that data is collected for clinics across the state. The clinics are located in different counties, but also some of the clinics are owned by large healthcare systems that are located in different counties. This data doesn't fit the typical design of system nested within a county. The data is collected f... |
I want to calculate the Kullback–Leibler divergence
between two multivariate $t$ distributions with different degrees of freedom (say $\nu_1$ and $\nu_2$), but same location and scale matrix, for arbitrary dimensions,
How can I deal with the multivariate integral in the KL divergence? Is there a closed-form solution?... |
I am not that much experiencend in R and I want to run a CFA. The code is as follows:
higher <- '
# First Order
co =~ co1 + co2 + co4 + co6 + co7 + co9 + co10 + co11
ia =~ ia1 + ia2 + ia3 + ia4 + ia5 + ia7
dc =~ dc1 + dc2 + dc3 + dc4 + dc5 + dc8 + dc9
capm =~ capm1 + capm2 + capm3 + capm4 + capm5
# Second Order
fact... |
A simulation output for each microscopic travel demand model and two further macroscopic MDCEV models - transformed versions of the microscopic model - are given for a base scenario. Moreover, three additional outputs are given for a specific forecast scenario with varied model inputs (e.g., reducing public transportat... |
A model of the form $y=a\cdot x^b$ can be linearly fitted by taking logs on both sides - giving $\ln(y)=\ln(a)+b\cdot\ln(x)$, where $\ln(y)$ is regressed against $\ln(x)$. This is a standard textbook approach.
What if there was an additive linear term included - e.g. $y=a\cdot x_1^b + c\cdot x_2$, how would you fit thi... |
I have a collection of text documents. I would like to find the smallest set of words such that searching by those words allows discovering each document.
It is quite natural to describe this data as a matrix, where columns are unique words and rows give the number of times a word occurs in a given document.
What would... |
We aim to draw maximum information from CEP-logistics experts to set up a utility function for delivery chain choices for each parcel. The choices / dependent variables are specific transport chains, e.g., delivery only with light commercial vehicle (LCV), LCV with a turnover to cargo bikes, tram with a turnover to car... |
The locally unbiased(l.u.) estimator $\hat{\theta}\left( x \right)$, with $x$ stands for the experiment result, refers to the estimator that satisfies(see Eq(5) of this paper for multiparameter case) $$\sum_x{p\left( x|\theta =\varphi \right) \hat{\theta}\left( x \right)}=\varphi ,\sum_x{\partial _{\theta}p\left( x|\th... |
What is the sample size calculation for a discrete outcome (count variable)?
For example, I want to design a trial with a placebo and a treatment. The outcome is the number of days of treatment : 14 days for placebo and 10 days for treatment (reduction of 4 days of treatment). Which formula should I use to calculate th... |
So I am having some numbers which I can't understand...basically I am performing a permanova test using the adonis2 function, from the vegan package, and what I see is a very significant p-value with a very low f-statistic and I was wondering how this is possible.
This is what I have:
Permutation test for adonis under ... |
Assume that we have a high-dimensional data with a few samples. We want to select a minimum set of best features from this dataset using LightGBM feature importance. This is because of an external restriction that we need to limit the number of features that are used in the final model. We want to select features using... |
I want to perform a Cox Regression Analysis for the dependent variable of overall survival in years.
I want to use a categorical explanatory variable that has 3 levels. Let's say for the sake of simplicity it's 3 types of mutually exclusive radiological findings like:
Good CT-Scan
Neutral CT-Scan
Bad CT-Scan
If my un... |
If you Google Images "auto-correlation", you will find many formulae of this form (from here):-
I've implemented this and so with a sequence { 65, 66, 67, 68, 69, 70, 71, 72 }, $r_k = 0.625$ for a lag of $k=1$. That matches exactly with this online calculator, and this demo (if you use their example sequence instead).... |
In general, I deal with imbalanced datasets in multiclass classification problems.
Now I'm facing a multiclass classification problem with balanced data.
In this context, are macro precision, recall, and f-measure more informative than accuracy?
|
I have not been able to find satisfactory explanations for the logic behind Tukey's HSD test.
However, the resources I have been able to find all concern it's use. It's supposed to make multiple pairwise comparisons of means and identify those pairs which are significantly not equal.
Everything seems to hinge on the St... |
The following objective is taken from the paper 'Training language models to follow instructions with human feedback':which is used to fine-tune the pre-trained language model using Proximal Policy Optimization (PPO). In the original paper, the objective of PPO is as follows: comparing the two objectives we can see the... |
I'm adopting accuracy and macro and weighted averages of precision, recall and f-measure for evaluating my model in a multiclass problem with an imbalanced dataset.
However, I noticed that weighted f1, precision, and recall are always very similar in this context. Is it common? Is it a good practice only use accuracy a... |
I am working through equation 22 in Introduction to Boltzmann Machines
I am a little confused with the notation, in particular in the line:
As I understand it, we want the probability of a specific state of the visible nodes, $v = \{v_1, v_2, ... v_m\}$ where $v_j \in \{0, 1\}$. We are marginalising over all possible ... |
I want to compare two models, which has different number of parameters. The first model is Arbitrage free Nelson-Siegel model, which has the following equation:
$y_{t}(\tau )=X_{1,t}+X_{2,t}(\frac{1-e^{-\lambda \tau }}{\lambda \tau })+X_{3,t}(\frac{1-e^{-\lambda \tau }}{\lambda \tau }-e^{-\lambda \tau })$, where state ... |
In Time Series Analysis there is this idea of choosing the distribution of the starting point of a time series in a way such that the time series is stationary. Let for example $\{X_t\}_{t=0}^T%$ be a time series following an AR(1) process ($X_t = \phi X_{t-1} + \varepsilon_t, \ \varepsilon_t \sim wn(0, \sigma^2)$). Th... |
The question is basically the title. I have a matrix $Q$ that I know is positive semi-definite. I now want to find the $Y$ that approximates this matrix under some kernel function $f(y_i, y_j)$. I know that if the function $f$ is invertible then I can find the Gram matrix by applying $f^{-1}$ to each element of Q and t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.