1.- I was very sick for a while so I don't really know what I am doing * This homework
...
eation of several BST functions * We have to use Valgrind * We have to create a memory struct that provides a compare function for insertion * The above needs to contain two fields of unsigned int, representing memory address and size int memory_addr_cmp(const void* x, const void* y){ //TODO return 0; } By the instructions: "This function takes two arguments, const void* x and const void* y, you will need to cast both of them to type "memory*", and make comparisons. If x is less than y, return -1. If x is greater than y, return 1. If they are equal, return 0;" Also per the instructions, concerning the BST functions "Note, in particular, that there are two separate structus - the node struct that describes information for a single node in the tree, and a bst struct, that holds the root pointer and a function pointer to the comparison function being used for this tree. When you first create the tree, you pass in the comparison function, and this will be used for all functions that need it thereafter. Therefore, after that, you don't need to specify the comparison function to bst-level functions. The stored function pointer is then passed to the node-level functions." So then we have to create allocation and initialization functions for both the BST and one for the node. * nod_insert, BST_insert then inorder_traversal
View More
2.PLAN AND DESIGN CHAPTER
Hi, my thesis is on the locus of control and psychological well-being of adolescents. I have completed
...
adolescents. I have completed the Literature review. I have to plan a research design for the thesis. ABOUT THE THESIS:
Population- 13+ to 19 years adolescents
No of IV s- 2 that is, Gender is the First IV and Locus of Control ( LOC) is the second IV
Levels of IV- Gender has 2 levels ( male and female). LOC has two levels ( Internal Locus of Control and External Locus of Control). Both IV s are categorical variables.
List of DV s-
1. Self Esteem
2. Coping
3. Happiness
4. Academic motivation
5. Exam Anxiety
6. Life Style
Each DV will be measured by using appropriate Statistical scales. All DVs will be taken as continuous variables. All the scales measure the quantitative aspect only.
DV MEASUREMENT: Each of the scales that will be used to measure DV contains several areas or dimensions or sub-categories. For example, the self-esteem scale contains 78 items divided into 6 categories like personal, social, emotional, academic, intellectual and moral.
THESIS AIM- To check the impact of IV s on each of these DV s in isolation and also investigate the interaction effects between gender and locus of external. I will be using the SPSS package for calculations.
PROBLEM:
Problem 1: Which is the most appropriate Statistical test or design that should be used here? I believe a 2x2 ANOVA will be best suited here.
Problem 2: If I am measuring the impact of IV s on each DV in isolation, should I use several Two Way AONVA tables or a single MANCOVA table?
Problem 3: Each of the DV is measured using scales containing several dimensions. Are such dimensions of the scales need to be treated as the levels of the dependent variables? In other words, do the levels of DV are decided as per the dimensions of the scale that was used to measure the DV? If this is so, then even if I am measuring the DV s in isolation; each DV will have multiple levels, which in turn will change my design from Two Way ANOVA to perhaps MANCOVA? What is the right approach here?
Note: I have not intentionally divided DV into any levels.
Kindly help me to arrive at a statistically significant research design! If possible, kindly briefly explain the type of the design as well as the rational or suitability of the sign for my research problem.
View More