Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Why won't my multilevel model converge in R (lme4)?

i have a multilevel model at firm and local authority district level, with both firm level and LAD level predictors. It is a binary logistic model, the outcome is presence of women on the board of a ...
Anya's user avatar
  • 1
0 votes
0 answers
31 views

Linear Mixed (Multilevel) Model: Predictors and outcomes at different timepoints

I'm analysing data from a randomised controlled trial, and want to predict a change in an outcome (reduction in anxiety scores from Baseline to Week 4), based on two predictors measured at the two ...
J K's user avatar
  • 1
0 votes
0 answers
19 views

Include chapter number function changed all my already inserted captions, how to use stand alone caption styles?

I want to preserve the tables caption with the style from "1 to ....", i.e. Table 1. The problem is that when i include the chapter number check box, the captions already inserted in chapter ...
Vitor Martins's user avatar
0 votes
0 answers
127 views

Multiple Imputation for Multi-level Model with four-levels

I cannot provide reproducible data or code because I am working in a secure environment. However, I can summarise key parts without issues as I have some information outputted securely. I am trying (...
E Lowthian's user avatar
1 vote
1 answer
46 views

Pandas multilevel Pivot/Transpose

I've looked thru countless examples, but I cannot figure out how to do the below. Any tips would be greatly appreciated Original df (note the multilevel) Gender A B sum ...
Gen's user avatar
  • 41
0 votes
0 answers
25 views

pd.concat with multilevel columns dataframe

Im newbie in python so Im struggling to make python bot to trading in stock market of my country . import requests import time import json import pandas as pd import schedule Tickers = ['ETHUSDT', '...
RandomYousername's user avatar
1 vote
1 answer
32 views

Combine two level headers in df based on condition

I have the df from the excel file that has double headers. The df looks like this but the first two rows are actually headers: Name Unnamed Age Unnamed Country Unnamed Is there a way to combine them ...
nzskra's user avatar
  • 165
0 votes
0 answers
28 views

Filter Pandas dataframe column based on values in second column [duplicate]

I have a pandas data frame Column A Column B Report 1 Vendor A Report 1 Vendor B Report 2 Vender C Report 2 Vendor B Report 3 Vendor A Report 3 Vendor C I'm looking for a way to exclude any reports ...
Ryan Mucha's user avatar
2 votes
1 answer
144 views

Pandas: change multiple level column name to one level

I have a dataframe with two-level column names as: ID Value A B ---------------- 1 6 2 5 3 4 4 3 5 2 6 1 I want to change the column head with: column_mapping = { ('ID', 'A') : '...
xymzh's user avatar
  • 177
1 vote
1 answer
90 views

Multi-Level Header in Pandas DataFrame

I have the following table in a csv file: wi_document_id wir_rejected_by wir_reason wir_sys_created_on Int0002277 Agent_1 Time out 3/8/2024 11:18:10 AM Int0002278 Agent_1 Time out 2/26/2024 12:18:16 ...
Samwise's user avatar
  • 125
2 votes
4 answers
420 views

Multi-level sorting in Excel with ignoring empty cells

Multi-level sorting would probably be suitable for this task if there was an option “ignore empty cells”. I need to sort the rows so that the sorting for column A ignores empty cells, and the sorting ...
Alekk32's user avatar
  • 21
-1 votes
1 answer
65 views

Instance Variables Are Not Shared Between Processes in Python

I have a big problem with Multi Processing. in this case I have a 1.Main Class in Main Process 2.Foo Class in Another Process I Have To Change Some Variables Inside of Process2 With Main Process. How ...
Mohammad's user avatar
  • 159
1 vote
1 answer
156 views

Discrepancy between lme4 sample size and complete case dataset?

I'm currently estimating a hierarchical linear model (HLM) using lme4. My entire dataset has 367 observations. lme4 estimated my model using 341 observations - I assumed some were dropped due to ...
Justin Research's user avatar
2 votes
1 answer
74 views

How to add dfs with different number of column axis levels, but sharing same axis names?

I have two multi-level column dataframes: data = { 'A': { 'X': {'Value1': 2, 'Value2': 1}, 'Y': {'Value1': 2, 'Value2': 3} }, 'B': { 'X': {'Value1': 10, 'Value2': ...
Canuk688's user avatar
  • 131
0 votes
2 answers
2k views

Linking figure caption number to chapter number in a different style than Heading 1 in Word

I am using a customized thesis template where the styles are manually created. However, there are no standard Word styles, such as "Heading X." I am trying to include chapter numbers in my ...
Salim Azak's user avatar

15 30 50 per page
1
2 3 4 5
36