Go to Tables > Summary.
Specify Name and Week as the Group variables.
Click on Stipend and choose Statistics > Sum.
Click OK.
In the resulting table, add a column and indicate that it will be based on a formula.
Build your formula. Remember that the Sum(Stipend) column is your sum and the N Rows column will be the equivalent to your "COUNT" function as follows.
1 / Log10( :Name( "Sum(Stipend)" ) / :N Rows )
I should add that you can accomplish this without using Tables > Summary if you don't mind the repeated values from your formula evaluation. Your formula column could look like this:
1 / Log10( Col Sum( :Stipend, :Name, :Week ) / Col Number( :Stipend, :Name, :Week ) )
Dan Obermiller