How does gender and occupational prestige affect credibility?
Graduate students in a public health program are asked to rate the
strength of a paper about the health risks of childhood obesity. In
reality, all student raters are given the same paper, but the name
and degree associated with the author are changed. The student
raters are randomly assigned to one group from the following name
("John Lake", "Joan Lake") and degree (M.D., R.N., Ph.D.)
combination. The raters score the paper from 1 to 5 on clarity,
strength of argument, and thoroughness. The total scores (the sum
of the three scores) are given in the table below. What can be
concluded with an α of 0.05?
| John Lake / M.D. |
John Lake / R.N. |
John Lake / Ph.D. |
Joan Lake / M.D. |
Joan Lake / R.N. |
Joan Lake / Ph.D. |
|---|---|---|---|---|---|
| 12 15 13 15 14 |
15 16 12 13 13 |
11 8 13 12 9 |
15 10 12 14 12 |
10 7 8 10 6 |
11 11 12 8 8 |
a) What is the appropriate test statistic?
---Select--- na one-way ANOVA within-subjects ANOVA two-way
ANOVA
b) Compute the appropriate test statistic(s) to
make a decision about H0.
Name: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
Degree: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
Interaction: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
c) Compute the corresponding effect size(s) and
indicate magnitude(s).
Name: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
Degree: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
Interaction: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
d) Make an interpretation based on the
results.
There is a name difference in the total scores.There is no name difference in the total scores.
There is a degree difference in the total scores.There is no degree difference in the total scores.
There is a name by degree interaction in the total scores.There is no name by degree interaction in the total scores.
In: Math
How does gender and occupational prestige affect credibility?
Graduate students in a public health program are asked to rate the
strength of a paper about the health risks of childhood obesity. In
reality, all student raters are given the same paper, but the name
and degree associated with the author are changed. The student
raters are randomly assigned to one group from the following name
("John Lake", "Joan Lake") and degree (M.D., R.N., Ph.D.)
combination. The raters score the paper from 1 to 5 on clarity,
strength of argument, and thoroughness. The total scores (the sum
of the three scores) are given in the table below. What can be
concluded with an α of 0.01?
| John Lake / M.D. |
John Lake / R.N. |
John Lake / Ph.D. |
Joan Lake / M.D. |
Joan Lake / R.N. |
Joan Lake / Ph.D. |
|---|---|---|---|---|---|
| 12 15 16 15 14 |
15 16 12 13 13 |
10 8 13 12 9 |
15 10 12 14 12 |
10 7 8 10 6 |
11 11 12 8 8 |
a) What is the appropriate test statistic?
---Select--- na one-way ANOVA within-subjects ANOVA two-way
ANOVA
b) Compute the appropriate test statistic(s) to
make a decision about H0.
Name: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
Degree: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
Interaction: p-value = ;
Decision: ---Select--- Reject H0 Fail to reject H0
c) Compute the corresponding effect size(s) and
indicate magnitude(s).
Name: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
Degree: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
Interaction: η2
= ; ---Select--- na trivial effect small
effect medium effect large effect
d) Make an interpretation based on the
results.
There is a name difference in the total scores.There is no name difference in the total scores.
There is a degree difference in the total scores.There is no degree difference in the total scores.
There is a name by degree interaction in the total scores.There is no name by degree interaction in the total scores.
In: Math
9.25 LAB*: Program: Online shopping cart (Part 2)
Note: Creating multiple Scanner objects for the same input
stream yields unexpected behavior. Thus, good practice is to use a
single Scanner object for reading input from System.in. That
Scanner object can be passed as an argument to any methods that
read input.
This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).
(1) Extend the ItemToPurchase class per the following specifications:
Ex. of printItemCost() output:
Bottled Water 10 @ $1 = $10
Ex. of printItemDescription() output:
Bottled Water: Deer Park, 12 oz.
(2) Create two new files:
Build the ShoppingCart class with the following specifications. Note: Some can be method stubs (empty methods) initially, to be completed in later steps.
Private fields
Default constructor
Parameterized constructor which takes the customer name and date as parameters (1 pt)
Public member methods
Ex. of printTotal() output:
John Doe's Shopping Cart - February 1, 2016 Number of Items: 8 Nike Romaleos 2 @ $189 = $378 Chocolate Chips 5 @ $3 = $15 Powerbeats 2 Headphones 1 @ $128 = $128 Total: $521
Ex. of printDescriptions() output:
John Doe's Shopping Cart - February 1, 2016 Item Descriptions Nike Romaleos: Volt color, Weightlifting shoes Chocolate Chips: Semi-sweet Powerbeats 2 Headphones: Bluetooth headphones
(3) In main(), prompt the user for a customer's name and today's
date. Output the name and date. Create an object of type
ShoppingCart. (1 pt)
Ex.
Enter Customer's Name: John Doe Enter Today's Date: February 1, 2016 Customer Name: John Doe Today's Date: February 1, 2016
(4) Implement the printMenu() method. printMenu() has a
ShoppingCart parameter, and outputs a menu of options to manipulate
the shopping cart. Each option is represented by a single
character. Build and output the menu within the method.
If the an invalid character is entered, continue to prompt for a
valid choice. Hint: Implement Quit before implementing other
options. Call printMenu() in the main() method. Continue to
execute the menu until the user enters q to Quit. (3 pts)
Ex:
MENU a - Add item to cart d - Remove item from cart c - Change item quantity i - Output items' descriptions o - Output shopping cart q - Quit Choose an option:
(5) Implement Output shopping cart menu option. (3 pts)
Ex:
OUTPUT SHOPPING CART John Doe's Shopping Cart - February 1, 2016 Number of Items: 8 Nike Romaleos 2 @ $189 = $378 Chocolate Chips 5 @ $3 = $15 Powerbeats 2 Headphones 1 @ $128 = $128 Total: $521
(6) Implement Output item's description menu option. (2 pts)
Ex.
OUTPUT ITEMS' DESCRIPTIONS John Doe's Shopping Cart - February 1, 2016 Item Descriptions Nike Romaleos: Volt color, Weightlifting shoes Chocolate Chips: Semi-sweet Powerbeats 2 Headphones: Bluetooth headphones
(7) Implement Add item to cart menu option. (3 pts)
Ex:
ADD ITEM TO CART Enter the item name: Nike Romaleos Enter the item description: Volt color, Weightlifting shoes Enter the item price: 189 Enter the item quantity: 2
(8) Implement Remove item menu option. (4 pts)
Ex:
REMOVE ITEM FROM CART Enter name of item to remove: Chocolate Chips
(9) Implement Change item quantity menu option. Hint: Make new
ItemToPurchase object and use ItemToPurchase modifiers before using
modifyItem() method. (5 pts)
Ex:
CHANGE ITEM QUANTITY Enter the item name: Nike Romaleos Enter the new quantity: 3
First code below, please help me edit this code to fit the parameters set above.:
ShoppingCartPrinter.java
import java.util.Scanner;
public class ShoppingCartPrinter {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
ItemToPurchase item1 = new ItemToPurchase();
ItemToPurchase item2 = new ItemToPurchase();
System.out.println("Item 1");
System.out.println("Enter the item name:");
String name1 = scan.nextLine();
System.out.println("Enter the item price:");
int price1 = scan.nextInt();
System.out.println("Enter the item quantity:");
int quantity1 = scan.nextInt();
item1.setName(name1);
item1.setPrice(price1);
item1.setQuantity(quantity1);
scan.nextLine();
System.out.println("");
System.out.println("Item 2");
System.out.println("Enter the item name:");
String name2 = scan.nextLine();
System.out.println("Enter the item price:");
int price2 = scan.nextInt();
System.out.println("Enter the item quantity:");
int quantity2 = scan.nextInt();
System.out.println("");
item2.setName(name2);
item2.setPrice(price2);
item2.setQuantity(quantity2);
System.out.println("TOTAL COST");
int item1Total = item1.getPrice() * item1.getQuantity();
int item2Total = item2.getPrice() * item2.getQuantity();
System.out.println(item1.getName()+" "+item1.getQuantity()+" @
$"+item1.getPrice()+" = $"+item1Total);
System.out.println(item2.getName()+" "+item2.getQuantity()+" @
$"+item2.getPrice()+" = $"+item2Total);
System.out.println();
System.out.println("Total: $"+(item1Total + item2Total));
}
}
ItemToPurchase.java
public class ItemToPurchase {
private String itemName ;
private int itemPrice;
private int itemQuantity;
public ItemToPurchase(){
itemName = "none";
itemPrice = 0;
itemQuantity = 0;
}
public String getName() {
return itemName;
}
public void setName(String itemName) {
this.itemName = itemName;
}
public int getPrice() {
return itemPrice;
}
public void setPrice(int itemPrice) {
this.itemPrice = itemPrice;
}
public int getQuantity() {
return itemQuantity;
}
public void setQuantity(int itemQuantity) {
this.itemQuantity = itemQuantity;
}
}
In: Computer Science
Create a program in Java for storing the personal information of students and teachers of a school in a .csv (comma-separated values) file.
The program gets the personal information of individuals from the console and must store it in different rows of the output .csv file.
Input Format
User enters personal information of n students and teachers using the console in the following
format:
n
Position1 Name1 StudentID1 TeacherID1 Phone1
Position2 Name2 StudentID2 TeacherID2 Phone2
Position3 Name3 StudentID3 TeacherID3 Phone3
. . .
Positionn Namen StudentIDn TeacherIDn Phonen
Please note that the first line contains only an integer counting the number of lines
following the first line.
In each of the n given input lines,
Position must be one of the following three strings “student”, “teacher”, or “TA”.
Name must be a string of two words separated by a single comma only.
StudentID and TeacherID must be either “0” or a string of 5 digits. If Position is “teacher”, StudentID is zero, but TeacherID is not zero. If Position is “student”, TeacherID is zero, but StudentID is not zero. If Position is “TA”, neither StudentID nor TeacherID are zero.
Phone is a string of 10 digits.
If the user enters information in a way that is not consistent with the mentioned format,
your program must use exception handling techniques to gracefully handle the situation
by printing a message on the screen asking the user to partially/completely re-enter the
information that was previously entered in a wrong format.
Data Structure, Interface and Classes
Your program must have an interface called “CSVPrintable” containing the following three methods:
String getName ();
int getID ();
void csvPrintln ( PrintWriter out);
You need to have two classes called “Student” and “Teacher” implementing CSVPrintable
interface and another class called “TA” extending Student class. Both Student and Teacher classes must have appropriate variables to store Name and ID.
In order to store Phone, Student class must have a phone variable of type long that can store a 10-digit integer; while the Teacher class must have a phone variable of type int to store only the 4-digit postfix of the phone number.
Method getName has to be implemented by both Student and Teacher classes in the same way. Class Student must implement getID in a way that it returns the StudentID and ignores the TeacherID given by the input. Class Teacher must implement getID in a way that it returns the TeacherID and ignores the StudentID given by the input. Class TA must override the Student implementation of getID so that it returns the maximum value of StudentID and TeacherID.
Method csvPrintln has to be implemented by Student and Teacher classes (and overridden by TA class) so that it writes the following string followed by a new line on the output stream out:
getName() + “,” + getID() + “,” + phone
Output .csv File
The program must store the personal information of students,
teachers and TAs in a commaseparated values (.csv) file called
“out.csv”. You need to construct the output file by repetitively
calling the csvPrintln method of every CSVPrintable object
instantiated in your program. The output .csv file stores the
information of every individual in a separate row; while each
column of the file stores different type of information regarding
the students and teachers (i.e. Name, ID and phone columns). Please
note that you should be able to open the output file of your
program using MS-Excel and view it as a table.
Sample Input/Output
Assume that the user enters the following four lines in console:
Teacher Alex,Martinez 0 98765 3053489999
Student Rose,Gonzales 56789 0 9876543210
TA John,Cruz 88888 99999 1234567890
The program must write the following content in the out.csv file.
Alex Martinez,98765,9999
Rose Gonzales,56789,9876543210
John Cruz,99999,1234567890
In: Computer Science
Pick 5 of the concepts below and explain in 50 words maximum each selected concept:
GATT and Trade rounds
National Treatment and non-discrimination (Most favored nation status)
Adam Smith’s “The invisible hand” and Mercantilism
Lender of last resort and IMF conditionality
Comparative advantage vs. absolute advantage
Shallow integration v. deep integration
Foreign direct investment (FDI) and name two types of FDI’s
Bretton Woods conference
In: Economics
| ($ Millions) | JetBlue Airways | Southwest Airlines |
| Total liabilities, 2017 | $ 4,947 | $ 13,973 |
| Total current liabilities, 2017 | $ 2,395 | $ 6,905 |
| Total liabilities, 2016 | $ 5,310 | $ 14,845 |
| Total current liabilities, 2016 | $ 2,214 | $ 6,844 |
| Total assets, 2017 | $ 9,781 | $ 25,110 |
| Total current assets, 2017 | $ 1,206 | $ 4,815 |
| Total assets, 2016 | $ 9,323 | $ 23,386 |
| Total current assets, 2016 | $ 1,403 | $ 4,498 |
| Revenue, 2017 | $ 7,015 | $ 21,171 |
| Net income, 2017 | $ 1,147 | $ 3,488 |
(Please show your work so I can learn)
e.) For each company, compute the return on assets ratio (ignore any interest and tax impact – just use net income/total average assets) for 2017. Which Company earned the higher return based on its assets?
f.) Based on your answers to questions a - e, compare these two competitors, specifically if you had $10,000, which would you invest in. What might be the cause of any differences in the ratios that you computed?
g.) Name three specific ways/strategies that the companies could improve their current ratio.
In: Accounting
In: Accounting
referring to the paper "Recent insights on applications of pullulan in tissue engineering", authored by RS Singh, N Kaur, V Rana, and JF Kennedy. It was published in Carbohydrate Polymers, 2016, 153, 455-462.
Which are the physical traits of pullulan which recommend this polymer for tissue engineering ?
How injured tissues can be repaired with the help of artificially created polymeric scaffolds ?
Please mention few pullulan derivatives and explain why the derivatization was necessary for a particular type of application ?
Which are on your opinion the main challenges related to usage of pullulan in tissue engineering ?
In: Other
Treatment of cells with the BOBA drug induces apoptosis of cells
and leads to DNA fragmentation.
A) (4pts) Describe the cellular mechanism that causes DNA
fragmentation during apoptosis to occur. (4 sentence max)
B) (8pts) Describe an experiment, step by step, that can be used to
determine how many hours after BOBA treatment DNA fragmentation
occurs. (8 sentence max)
C) (4pts) One of your friends said they would use an Annexin V and
PI staining technique to identify how many hours post BOBA
treatment DNA fragmentation occurs. Why won’t this experimental
method work to answer this experimental question? (4 sentence
max)
In: Biology
Gas Chromatography of Ethanol in Alcoholic Beverages
Questions
(1) What is the purpose of n-propanol in this experiment and why is
it so cruical to accuracy and precision to this experiment?
(2) Why were there only two chromatographic peaks (Ethanol +
N-propyl) seen in the data collected for all of the analytical
standards?
Please answer both in detail, thank you!
EDIT: Procedure below:
1) Using an adjustable pipet, transfer 1.00mL of the liquor (66%
proof Fireball) and 0.500mL of n-propanol into a 10.00mL volumetric
flask. Dilute to the mark with nanopure water.
2)5.00% v/v Ethanol standard (one per group): Pipet 0.500 mL of
absolute ethanol and 0.500mL of n-propanol into a 10.00mL
volumetric flask using an adjustable pipet. Dilute to the mark with
nanopure water.
3) Set up the gas chromatograph for an isothermal anaylsis at 90 C.
Inject 1 uL of the 5% ethanol standard until consistant results are
obtained.
4) Sequentially analyze 1uL of both your unknown sample and the
5.00% ethanol standard.
5) Estimate the concentration of the ethanol by comparing area
ratios to the 5% ethanol standard. Be sure to correct for the
dilution factor used to prepare the sample. Prepare 3 addtional
ethanol standards suitable for calibration of your particular
alchol sample.
6) Injections of the 1uL should be used for all FOUR ethanol
standards and unknown (fireball 66% proof). Each standard and
sample should be run three times and use the data to answer
questions and create graphs.
The graphs had 2 peaks. One smaller peak of Ethanol and one larger
peak of N-Propanol.
In: Other