Questions tagged [multi-level]
529 questions
4
votes
1 answer
Two levels of longitudinal data: how to reshape?
I have a data set with multiple time points of hippocampal volume for each subject. Each hippocampal volume has a left and right measurement. I now want to compare left and right change longitudinally. I know how to reshape my data for the time…

user6121484
- 143
- 2
- 15
4
votes
1 answer
Meaning of "trait" in MCMCglmm
Like in this post I'm struggling with the notation of MCMCglmm, especially what is meant by trait. My code ist the following
library("MCMCglmm")
set.seed(123)
y <- sample(letters[1:3], size = 100, replace = TRUE)
x <- rnorm(100)
id <- rep(1:10,…

Qaswed
- 3,649
- 7
- 27
- 47
4
votes
1 answer
covariance structure for multilevel modelling
I have a multilevel repeated measures dataset of around 300 patients each with up to 10 repeated measures predicting troponin rise. There are other variables in the dataset, but I haven't included them here.
I am trying to use nlme to create a…

Annemarie
- 123
- 1
- 8
4
votes
1 answer
PostgreSQL multi-layer partitioning
I have been using partitioning with a postgreSQL database for a while. My database has grown quite a lot and does so nicely with partitioning. Unfortunately I now seem to have hit another barrier in speed and am trying to figure out some ways to…

Tim
- 1,272
- 11
- 28
4
votes
4 answers
Extracting all path from a multi-level dictionary
I have a dictionary like this:
dirDict = {"DIR1" : {
"DIR11" : {
"DIR111" : "Maki111",
"DIR112" : "Maki112"
},
…

Prag
- 529
- 1
- 6
- 12
4
votes
2 answers
How do you get average of sums in SQL (multi-level aggregation)?
I have a simplified table xx as follows:
rdate date
rtime time
rid integer
rsub integer
rval integer
primary key on (rdate,rtime,rid,rsub)
and I want to get the average (across all times) of the sums (across all ids) of the values.
By way…

paxdiablo
- 854,327
- 234
- 1,573
- 1,953
4
votes
0 answers
d3 multi layer doughnut chart labels and dataupdate
I am very new to d3js. I am trying to adapt the example of the 3 ring doughnut chart posted in the different topic on the forum.
I would need additionally text labels to be displayed on the arcs and an action which would trigger animation and an…

DS009
- 41
- 2
4
votes
1 answer
Multi-level prioritized cache
We have the following requirements to a cache (java).
Cache-entries have different priority regarding eviction - the following properties of an entry will be a factor in this priority
When it was inserted or last used (LRU)
The resources needed to…

Per Steffensen
- 613
- 2
- 7
- 19
4
votes
1 answer
How does setting the opt argument for lmeControl change estimation?
I'm wondering if anyone knows how exactly setting the optimizer in lme() to opt='optim' changes parameter estimation.
As in this example:
ctrl <- lmeControl(opt='optim');
flow.lme <- lme(rate ~ nozzle, error= nozzle|operator, control=ctrl,…

arrrrRgh
- 197
- 3
- 15
4
votes
1 answer
Symfony2: Multi-level parameters in YML
Here is what I want to do. I've got some yml file like...
My custom yml file :
# app/config/sv_parameters.yml
parameters:
sv_email:
debug: "debug@debug.com"
admin: "admin@admin.com"
...
The config.yml file, importing my custom params…

Bonswouar
- 1,521
- 2
- 17
- 37
4
votes
2 answers
Multi level menu with PHP
I have a subject table like this:
id
title
parent_id
full_path
full_path is for finding parent as recursive. Like this:
+----+-----------+-----------+-----------+
| id | title | full_path | parent_id…

Chalist
- 3,160
- 5
- 39
- 68
4
votes
0 answers
How to create multilevel ListView In Android
i need to create a multi level list. like this image
i try this ,this and this
but not get any idea how to implement multilevel list view.
i try to create my own like this
main1.xml
user1367623
3
votes
2 answers
Getting Data From Multi-level Array
Question below.
This is the solution I came up with based on Pixeler's answer.
$v1) {
if (is_array($v1)) {
echo $k1."
"; foreach ($v1 as $k2 => $v2) { …
"; foreach ($v1 as $k2 => $v2) { …

Jack Smith
- 55
- 1
- 8
3
votes
2 answers
Convert nested dictionary to multilevel column dataframe
I have a dictionary which I want to convert to multilevel column dataframe and the index will be the most outer keys of the dictionary.
my_dict = {'key1': {'sub-key1': {'sub-sub-key1':'a','sub-sub-key2':'b'}, 'sub-key2':…

EMT
- 458
- 3
- 14
3
votes
1 answer
How can I know whether the model is converged or failed to converge in lme4 without warning message in r?
duplicated
For example,
I can assess whether this multilevel model is a singular fit or not by
using isSingular() function.
Likewise, is there any way that I can know whether this model is converged or failed to be converged?
My advisor said, if the…

yoo
- 491
- 3
- 10